private void button2_Click(object sender, EventArgs e) { this.Hide(); StaffEventDashboard Sed1 = new StaffEventDashboard(); Sed1.ShowDialog(); }
private void eventBtn_Click(object sender, EventArgs e) { this.Hide(); StaffEventDashboard sed1 = new StaffEventDashboard(); sed1.ShowDialog(); }
private void eventBtn_Click(object sender, EventArgs e) { var newForm = new StaffEventDashboard(); newForm.Show(); }