private void btnNext_Click(object sender, EventArgs e) { if (radBut1.Checked==true) { InfoTest test = new InfoTest(numTeacher); test.Show(); this.Hide(); } if (radBut2.Checked==true) { if (chBox1.Checked) { TestEditXml testedit = new TestEditXml(numTeacher,txtPath.Text); this.Hide(); testedit.Show(); } } if (radBut3.Checked==true) { delTest deltest = new delTest(numTeacher); deltest.Show(); this.Hide(); } }
private void создатьТестToolStripMenuItem_Click(object sender, EventArgs e) { InfoTest newtest = new InfoTest(Convert.ToInt32(numPrepod)); newtest.Show(); }