Ejemplo n.º 1
0
        private void btnConfirm_Click(object sender, EventArgs e)
        {
            SelectedCircuit = (Circuit)cmbCircuit.SelectedValue;
            Mirror = chkMirror.Checked;

            Close();
        }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }