private void button3_Click(object sender, EventArgs e) { SaveSettings.CompilerPath = textBox1.Text; MainPrepod mp = new MainPrepod(); mp.Show(); this.Hide(); }
private void Edit_FormClosing(object sender, FormClosingEventArgs e) { this.Hide(); MainPrepod mp = new MainPrepod(); mp.Show(); }
private void checkTeacher() { MainPrepod mp = new MainPrepod(); mp.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { MainPrepod mp = new MainPrepod(); mp.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { if (form_type == false) { this.Hide(); MainPrepod mainprep = new MainPrepod(); mainprep.Show(); } else { if (type == "Exercise") MessageBox.Show("Задача добавлена успешно!", "Добавление задачи"); else MessageBox.Show("Тест добавлен успешно!", "Добавление теста"); this.Hide(); } }