Example #1
0
 private void pbOptions_Click(object sender, EventArgs e)
 {
     if(fOptions == null)
         fOptions = new frmOptions(this);
     this.Hide();
     fOptions.Show();
 }
Example #2
0
 private void actOnEnter()
 {
     if (pickAForm == 0)
     {
        
             fPickPlayer = new frmPickPlayer(this);
         
         this.Hide();
         fPickPlayer.Show();
     }
     else if (pickAForm == 1)
     {
         if (fOptions == null)
         {
             fOptions = new frmOptions(this);
         }
         this.Hide();
         fOptions.Show();
     }
     else if (pickAForm == 2)
     {
         this.Close();
     }
 }