Example #1
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     if(cbGameMode.SelectedIndex == 0)
     {
         Classic mCh = new Classic(false);
         mCh.Show();
     }
     if (cbGameMode.SelectedIndex == 1)
     {
         Classic mCh = new Classic(true);
         mCh.Show();
     }
     if(cbGameMode.SelectedIndex == 2)
     {
         MultipleFlags mFlg = new MultipleFlags();
         mFlg.Show();
     }
 }
Example #2
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     if (cbGameMode.SelectedIndex == 0)
     {
         Classic mCh = new Classic(false);
         mCh.Show();
     }
     if (cbGameMode.SelectedIndex == 1)
     {
         Classic mCh = new Classic(true);
         mCh.Show();
     }
     if (cbGameMode.SelectedIndex == 2)
     {
         MultipleFlags mFlg = new MultipleFlags();
         mFlg.Show();
     }
 }