private void bugAppointedToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!formViewBugAppointment.Visible)
     {
         formViewBugAppointment           = new formViewBugAppointment();
         formViewBugAppointment.MdiParent = this;
         formViewBugAppointment.Show();
     }
     else
     {
         formViewBugAppointment.Activate();
     }
 }
 private void formAdmin_Load(object sender, EventArgs e)
 {
     WindowState             = FormWindowState.Maximized;
     formAdminHome           = new formAdminHome(userId);
     formAddAdmin            = new formAddAdmin();
     formAddProject          = new formAddProject();
     formAddBugAppointment   = new formAddBugAppointment();
     formViewBugAppointment  = new formViewBugAppointment();
     formEditBugAppointment  = new formEditBugAppointment();
     formEditUser            = new formEditUser(userId);
     formViewProjectNames    = new formViewProjectNames();
     formEditProjectNames    = new formEditProjectNames();
     formViewBugAudit        = new formViewBugAudit();
     formManageUsers         = new formManageUsers();
     formAdminHome.MdiParent = this;
     formAdminHome.Show();
 }