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(); } }
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(); } }