C# Class Glow.PaneControls.RandomColor

Inheritance: Windows.UI.Xaml.Controls.UserControl, IProgramPane
Afficher le fichier Open project: QuinnDamerell/Glow

Méthodes publiques

Méthode Description
OnCommand ( Command cmd ) : void

Fired when we get a response from the server

OnProgramListChanged ( ) : void

Fired when a state changes.

RandomColor ( IProgramController controller ) : Glow.Interfaces

Private Methods

Méthode Description
ConnectionManager_OnClientConnected ( ) : void

Fired when a user is reconnected.

GetAndSetProgramState ( ) : void

Updates the program state

GetCurrentRandomSettings ( ) : void

Requests the current settings from the server

MaxBetweenChange_ValueChanged ( object sender, RangeBaseValueChangedEventArgs e ) : void

Fired when a user moves a slider

MaxForColorChange_ValueChanged ( object sender, RangeBaseValueChangedEventArgs e ) : void

Fired when a user moves a slider

MinForColorChange_ValueChanged ( object sender, RangeBaseValueChangedEventArgs e ) : void

Fired when a user moves a slider

MinTimeBetweenChange_ValueChanged ( object sender, RangeBaseValueChangedEventArgs e ) : void

Fired when a user moves a slider

RandomColorEnabled_Toggled ( object sender, RoutedEventArgs e ) : void

The user has updated the program state

SendNewSettings ( ) : void

Sends new settings to the server

SetTimeText ( int timeInMs ) : string

Formats the string into a time.

UpdateRandomColorSettingsUi ( ) : void

Updates the UI with the current settings

Method Details

OnCommand() public méthode

Fired when we get a response from the server
public OnCommand ( Command cmd ) : void
cmd GlowCommon.DataObjects.Command
Résultat void

OnProgramListChanged() public méthode

Fired when a state changes.
public OnProgramListChanged ( ) : void
Résultat void

RandomColor() public méthode

public RandomColor ( IProgramController controller ) : Glow.Interfaces
controller IProgramController
Résultat Glow.Interfaces