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