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 userDetailsToolStripMenuItem_Click(object sender, EventArgs e) { if (!formEditUser.Visible) { formEditUser = new formEditUser(userId); formEditUser.MdiParent = this; formEditUser.Show(); } else { formEditUser.Activate(); } }