private void button2_Click(object sender, EventArgs e) { this.Hide(); MainMenuForm main = new MainMenuForm(); main.ShowDialog(); }
private void LogInButton_Click(object sender, EventArgs e) { passingText = CurrentIDTextBox.Text; ExamForm exam = new ExamForm(); this.Hide(); MainMenuForm main = new MainMenuForm(); main.ShowDialog(); }