Method | Description | |
---|---|---|
MainWindow ( ) : System |
Constructor for the MainWindow. Collapses the collapseable elements of the WPF application.
|
Method | Description | |
---|---|---|
BtnAddConfigEntry_Click ( object sender, |
Called when the user clicks on the "Add entry" button under the configuration tab. Should place a new entry into the lstConfigValues view and allow the user to modify it.
|
|
BtnBenchmarkLoad_Click ( object sender, |
Called when the user clicks on the "Load Benchmark..." button in the Round Log tab. Should load a benchmark (a collection of rounds) from a file, and display all the rounds in the lstRoundLog view.
|
|
BtnBenchmarkSave_Click ( object sender, |
Called when the user clicks on the "Save Benchmark..." button in the Round Log tab. Should save a benchmark (a collection of rounds) to a file.
|
|
BtnEntryDefault_Click ( object sender, |
Called when the user clicks on the "Set entry to default" button under the configuration tab. Should cause the selected entry to revert to its default setting, and reflect this change in the lstConfigValues view.
|
|
BtnLoadConfig_Click ( object sender, |
Called when the user clicks on the "Load config..." button under the configuration tab. Should load the selected configuration in the lstConfigurations list from a file.
|
|
BtnRemConfigEntry_Click ( object sender, |
Called when the user clicks on the "Remove entry" button under the configuration tab. Should remove the selected entry(s) in the lstConfigValues view, and from the global configuration.
|
|
BtnResetConfig_Click ( object sender, |
Called when the user clicks on the "Reset to default" button under the configuration tab. Should cause the current configuration to be cleared, or replaced with the default configuration.
|
|
BtnRoundLoad_Click ( object sender, |
Called when the user clicks on the "Load Round..." button in the Round Log tab. Should load the selected round from the lstRoundLog view into the main display.
|
|
BtnSaveConfig_Click ( object sender, |
Called when the user clicks on the "Save config..." button under the configuration tab. Should save the current configuration to a configuration file, under a name specified by the user.
|
|
Grid_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void |
Invoked when the size of either FieldControl attached to this MainWindow has changed, either by clicking a checkbox that changes a view, or through a window resize
|
|
UpdateMenuControllers ( System.Windows.Controls.ContextMenu menu ) : void | ||
btnBlueSelect_Click ( object sender, |
Called when the user clicks on the blue opponent selector on the top menu. Should provide a popup menu displaying all of the available controllers.
|
|
btnNewRound_Click ( object sender, |
Called when the user clicks on the "New Round" button on the top menu. Should end the current round between the two opponents, if it is still in progress, and start a new one.
|
|
btnRedSelect_Click ( object sender, |
Called when the user clicks on the red opponent selector on the top menu. Should provide a popup menu displaying all of the available controllers.
|
|
btnRndBegin_Click ( object sender, |
Called when the user clicks on the benchmark start button on the top menu. Should utilize txtNumOfRounds and chkPlayOut to modify the competition benchmark parameters.
|
|
btnRndsDown_Click ( object sender, |
Called when the user clicks on the decrement button in the top menu. Should decrement the numeric value in txtNumofRounds (# of rounds benchmark).
|
|
btnRndsUp_Click ( object sender, |
Called when the user clicks on the increment button in the top menu. Should increment the numeric value in txtNumOfRounds (# of rounds benchmark).
|
|
btnRoundShoot_Click ( object sender, |
Called when the user clicks on the "Shoot" button on the top menu. Should progress the current round if it is still in progress.
|
|
btnScoreReset_Click ( object sender, |
Called when the user clicks on the "Reset Scores" button on the top menu. Should reset the scores between the two opponents.
|
|
consAdvCheck_Click ( object sender, |
Invoked when the checkbox that represents the advanced tabs display, is clicked.
|
|
consBasicCheck_Click ( object sender, |
Invoked when the checkbox that represents the center console display, is clicked.
|
|
menuSelector_Click ( object sender, |