예제 #1
0
        private void btnConfirm_Click(object sender, EventArgs e)
        {
            SelectedCircuit = (Circuit)cmbCircuit.SelectedValue;
            Mirror = chkMirror.Checked;

            Close();
        }
예제 #2
0
 /// <summary>
 /// Sets up a new race.
 /// </summary>
 /// <param name="circuit">The circuit to setup.</param>
 /// <param name="mirror">Determines whether to setup the mirrored version of the circuit.</param>
 public void SetupRace(Circuit circuit, bool mirror)
 {
     if (mirror)
     {
         SetupRace(circuit.MirrorBlockNumber, circuit.MirrorNumber);
     }
     else
     {
         SetupRace(circuit.BlockNumber, circuit.Number);
     }
 }
예제 #3
0
 /// <summary>
 /// Sets up a new race.
 /// </summary>
 /// <param name="circuit">The circuit to setup.</param>
 public void SetupRace(Circuit circuit)
 {
     SetupRace(circuit, false);
 }
예제 #4
0
 /// <summary>
 /// Sets up a new race.
 /// </summary>
 /// <param name="circuit">The circuit to setup.</param>
 public void SetupRace(Circuit circuit)
 {
     SetupRace(circuit, false);
 }