/* * Displays the admin form by clearing all forms and then showing the admin * form in the mainForm mdiParent. */ public void showAdminForm() { disposeForms(); adminForm = new AdminForm(); adminForm.Show(); adminForm.addController(this); }
/* * Displays the admin form by clearing all forms and then showing the admin * form in the mainForm mdiParent. */ public void showAdminForm() { disposeForms(); adminForm = new AdminForm(); // adminForm.Width = mainForm.Width; // adminForm.Height = mainForm.Height; // adminForm.MdiParent = mainForm; adminForm.Show(); adminForm.addController(this); //loginForm.Dispose(); }