private void availBookTimeToolStripMenuItem_Click(object sender, EventArgs e) { Admin a = AdminDAO.GetAccountByUsername(user); AdminAvailibleBookingTimeGUI f = new AdminAvailibleBookingTimeGUI(a); embed(toolStripContainer1.ContentPanel, f); }
private void availBookTimeToolStripMenuItem_Click(object sender, EventArgs e) { Admin a = AdminDAO.GetAccountByUsername(user); AdminAvailibleBookingTimeGUI f = new AdminAvailibleBookingTimeGUI(a); embed(toolStripContainer1.ContentPanel, f); }