private void проверкаЗадачToolStripMenuItem_Click(object sender, EventArgs e) { taskWork tw = new taskWork(numPrepod, numTree); tw.Show(); }
private void button3_Click(object sender, EventArgs e) { taskWork tw = new taskWork(numPrepod, "1"); tw.Show(); this.Hide(); }