Ejemplo n.º 1
0
 private void AppearBehaviour_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (AppearBehaviour.SelectedIndex == 0)
     {
         RandomTrigger.Hide();
     }
     else if (AppearBehaviour.SelectedIndex == 1)
     {
         RandomTrigger.Show();
     }
     mainDisplay.triggerType = AppearBehaviour.SelectedIndex;
 }
Ejemplo n.º 2
0
 private void CarActivation_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (CarActivation.SelectedIndex == 0)
     {
         RandomTrigger.Hide();
     }
     else if (CarActivation.SelectedIndex == 1)
     {
         RandomTrigger.Show();
     }
     mainDisplay.triggerType = CarActivation.SelectedIndex;
     if (initialized)
     {
         mainDisplay.Restart();
     }
 }