コード例 #1
0
 private void usersToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (!formManageUsers.Visible)
     {
         formManageUsers           = new formManageUsers();
         formManageUsers.MdiParent = this;
         formManageUsers.Show();
     }
     else
     {
         formManageUsers.Activate();
     }
 }
コード例 #2
0
 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();
 }