/// <summary> /// Creates the MainCtlr, which handles the MainMenu functionality and form /// </summary> public MainController(DBConnector dbc, User user, MasterForm mf) { Console.WriteLine("MainController created."); this.mf = mf; this.dbc = dbc; curUser = user; sectlr = new SelectEmployeeController(dbc, this, mf); aactlr = new AlterAvailabilityController(dbc, this, mf); gsctlr = new GenerateScheduleController(dbc, this, mf); dsctlr = new DisplayScheduleController(dbc, this, mf); mmform = new MainMenuForm(curUser, this, mf); }//end MainController constructor
}//end MainController constructor public void DisplayMainMenu() { Console.WriteLine("MainController.DisplayMainMenu() called."); mmform = new MainMenuForm(curUser, this, mf); }