// RETURN TO CALENDAR private void button2_Click(object sender, EventArgs e) { GlobalVariables.scheduleErrorMessage = false; frmClassSchedule ClassSchedule = new frmClassSchedule(); ClassSchedule.Show(); this.Hide(); }
public void LoadClasSchedule() { GlobalVariables.SelectedTimeTextFormat = GlobalVariables.SelectedTime.Substring(0, 5) + " " + "PM"; // Simplu loads Class Schedule form. frmClassSchedule ClassSchedule = new frmClassSchedule(); ClassSchedule.Show(); this.Hide(); }