Esempio n. 1
0
 private void Ptr_OK_Click(object sender, EventArgs e)
 {
     RacingHorses frm = new RacingHorses(frmMenu);
     frm.teamchoose.Add(team);
     this.Hide();
     frm.Show();
 }
Esempio n. 2
0
 private void pOK_Click(object sender, EventArgs e)
 {
     if (count > 0)
     {
         RacingHorses frm = new RacingHorses(frmMenu);
         for (int i = 0; i < 4; i++)
         {
             if (player[i])
                 frm.teamchoose.Add(i);
         }
         if (nonprops)
         {
             frm.hasProp = false;
         }
         this.Hide();
         frm.Show();
     }
 }