Beispiel #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     WindowState           = FormWindowState.Maximized;
     formReportBug         = new formUserReportBug(userId);
     formUserEditBugReport = new formUserEditBugReport(userId);
     formEditUser          = new formEditUser(userId);
     loadFormDetails();
 }
        private void formUser_Load(object sender, EventArgs e)
        {            
            formReportBug = new formUserReportBug(userId);
            formUserEditBugReport = new formUserEditBugReport(userId);
            formEditUser = new formEditUser(userId);
            WindowState = FormWindowState.Maximized;
            formHome = new formUserHome(userId);
            formHome.MdiParent = this;
            formHome.Show();

        }
 private void bugReportToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!formUserEditBugReport.Visible)
     {
         formUserEditBugReport = new formUserEditBugReport(userId);
         formUserEditBugReport.MdiParent = this;
         formUserEditBugReport.Show();
     }
     else
     {
         formUserEditBugReport.Activate();
     }
 }