private void backButton_Click(object sender, EventArgs e) { chooseLevelView = new ChooseLevel(); chooseLevelView.Activate(); chooseLevelView.Show(); Close(); }
private void button1_Click(object sender, EventArgs e) { if (nameText.Text == string.Empty) { MessageBox.Show("Please enter your course name"); return; } chooseLevelView = new ChooseLevel(); chooseLevelView.Activate(); chooseLevelView.Show(); this.Hide(); }