private void назадToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GeneratorOne genOne = new GeneratorOne(NumPrepod);
     this.Hide();
     genOne.Show();
 }
 private void btnPrev_Click(object sender, EventArgs e)
 {
     GeneratorOne genOne = new GeneratorOne(NumTeacher);
     this.Hide();
     genOne.Show();
 }