C# Class SamplesCommon.NetPeerSettingsWindow

Datei anzeigen Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Properties

Property Type Description
DebugCheckBox System.Windows.Forms.CheckBox
DupesTextBox System.Windows.Forms.TextBox
LossTextBox System.Windows.Forms.TextBox
MaxLatencyTextBox System.Windows.Forms.TextBox
MinLatencyTextBox System.Windows.Forms.TextBox
Peer NetPeer
StatisticsLabel System.Windows.Forms.Label
VerboseCheckBox System.Windows.Forms.CheckBox
timer Timer

Public Methods

Method Description
NetPeerSettingsWindow ( string title, NetPeer peer ) : System
timer_Tick ( object sender, EventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosed ( EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RefreshData ( ) : void
Save ( ) : void
UpdateLabelsAndBoxes ( ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

NetPeerSettingsWindow() public method

public NetPeerSettingsWindow ( string title, NetPeer peer ) : System
title string
peer NetPeer
return System

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e EventArgs
return void

timer_Tick() public method

public timer_Tick ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

DebugCheckBox public_oe property

public System.Windows.Forms.CheckBox DebugCheckBox
return System.Windows.Forms.CheckBox

DupesTextBox public_oe property

public System.Windows.Forms.TextBox DupesTextBox
return System.Windows.Forms.TextBox

LossTextBox public_oe property

public System.Windows.Forms.TextBox LossTextBox
return System.Windows.Forms.TextBox

MaxLatencyTextBox public_oe property

public System.Windows.Forms.TextBox MaxLatencyTextBox
return System.Windows.Forms.TextBox

MinLatencyTextBox public_oe property

public System.Windows.Forms.TextBox MinLatencyTextBox
return System.Windows.Forms.TextBox

Peer public_oe property

public NetPeer Peer
return NetPeer

StatisticsLabel public_oe property

public System.Windows.Forms.Label StatisticsLabel
return System.Windows.Forms.Label

VerboseCheckBox public_oe property

public System.Windows.Forms.CheckBox VerboseCheckBox
return System.Windows.Forms.CheckBox

timer public_oe property

public Timer timer
return Timer