C# 클래스 Glow.PaneControls.RandomColor

상속: Windows.UI.Xaml.Controls.UserControl, IProgramPane
파일 보기 프로젝트 열기: QuinnDamerell/Glow

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

OnCommand() 공개 메소드

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

OnProgramListChanged() 공개 메소드

Fired when a state changes.
public OnProgramListChanged ( ) : void
리턴 void

RandomColor() 공개 메소드

public RandomColor ( IProgramController controller ) : Glow.Interfaces
controller IProgramController
리턴 Glow.Interfaces