private void Add_Doc_Click(object sender, EventArgs e) { addform add_form = new addform(admin_email, "addDoc"); this.Hide(); add_form.ShowDialog(); }
//Button to open add form for labs/halls private void simpleButton14_Click(object sender, EventArgs e) { this.Hide(); addform add = new addform(admin_email, "addhall"); add.ShowDialog(); }