C# Class CTCOfficeGUI.SimulatorWindow

Inheritance: System.Windows.Forms.Form
Show file Open project: johnselker/Bazinga1186 Class Usage Examples

Public Methods

Method Description
SetSelectedTrackBlock ( TrackBlock block ) : void

Sets the selected track block, or clears it if null

SimulatorWindow ( ) : System

Constructor for the simulator window

Private Methods

Method Description
OnBrokenRailClicked ( object sender, EventArgs e ) : void

User clicked the broken rail checkbox

OnCircuitFailureClicked ( object sender, EventArgs e ) : void

User clicked the circuit failure checkbox

OnPopupAcknowledged ( object sender, EventArgs e ) : void

OK popup was acknowledged

OnPowerFailureClicked ( object sender, EventArgs e ) : void

User clicked the power failure checkbox

OnRunSimulationClicked ( object sender, EventArgs e ) : void

Run simulation checkbox was clicked

OnSetSimulationSpeedClicked ( object sender, EventArgs e ) : void

User pressed the SetSimulationSpeed button

Method Details

SetSelectedTrackBlock() public method

Sets the selected track block, or clears it if null
public SetSelectedTrackBlock ( TrackBlock block ) : void
block TrackBlock Selected track block
return void

SimulatorWindow() public method

Constructor for the simulator window
public SimulatorWindow ( ) : System
return System