C# Class Octgn.Controls.HostGameSettings

Inheritance: System.Windows.Controls.UserControl, IDisposable
Exibir arquivo Open project: octgn/OCTGN Class Usage Examples

Public Properties

Property Type Description
ErrorProperty System.Windows.DependencyProperty

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

HostGameSettings ( ) : System
Show ( System.Windows.Controls.Decorator placeholder ) : void

Protected Methods

Method Description
FireOnClose ( object sender, DialogResult result ) : void

Private Methods

Method Description
ButtonCancelClick ( object sender, RoutedEventArgs e ) : void
ButtonHostGameStartClick ( object sender, RoutedEventArgs e ) : void
ButtonRandomizeGameNameClick ( object sender, RoutedEventArgs e ) : void
ButtonRandomizeUserNameClick ( object sender, RoutedEventArgs e ) : void
CheckBoxIsLocalGame_OnChecked ( object sender, RoutedEventArgs e ) : void
CheckBoxIsLocalGame_OnUnchecked ( object sender, RoutedEventArgs e ) : void
CheckBoxSpectators_OnChecked ( object sender, RoutedEventArgs e ) : void
CheckBoxSpectators_OnUnchecked ( object sender, RoutedEventArgs e ) : void
Close ( DialogResult result ) : void
EndWait ( ) : void
LobbyClientOnDataReceviedCaller ( object sender, DataRecType type, object data ) : void
LobbyClientOnDisconnect ( object sender, EventArgs e ) : void
LobbyClientOnLoginComplete ( object sender, LoginResults results ) : void
ProgramOnOptionsChanged ( ) : void
RefreshInstalledGameList ( ) : void
SetError ( string error = "" ) : void
StartLocalGame ( DataNew game, string name, string password ) : void
StartOnlineGame ( DataNew game, string name, string password ) : void
StartWait ( ) : void
ValidateFields ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

FireOnClose() protected method

protected FireOnClose ( object sender, DialogResult result ) : void
sender object
result DialogResult
return void

HostGameSettings() public method

public HostGameSettings ( ) : System
return System

Show() public method

public Show ( System.Windows.Controls.Decorator placeholder ) : void
placeholder System.Windows.Controls.Decorator
return void

Property Details

ErrorProperty public_oe static_oe property

public static DependencyProperty,System.Windows ErrorProperty
return System.Windows.DependencyProperty