1 private frmReworkInfo frmRwInfo;
2 private void InformationMenuItem_Click(object sender, EventArgs e)
3 {
4 if (frmRwInfo == null || frmRwInfo.IsDisposed)
5 {
6 this.MinimizeChildForm();
7 frmRwInfo = new frmReworkInfo();
8 frmRwInfo.MdiParent = this;
9 frmRwInfo.Show();
10 }
11 }
12
13 //Minimize All Child Forms
14 private void MinimizeChildForm()
15 {
16 foreach (Form childForm in MdiChildren)
17 {
18 if (childForm.WindowState != FormWindowState.Minimized)
19 {
20 childForm.WindowState = FormWindowState.Minimized;
21 }
22 }
23 }
24
25
2 private void InformationMenuItem_Click(object sender, EventArgs e)
3 {
4 if (frmRwInfo == null || frmRwInfo.IsDisposed)
5 {
6 this.MinimizeChildForm();
7 frmRwInfo = new frmReworkInfo();
8 frmRwInfo.MdiParent = this;
9 frmRwInfo.Show();
10 }
11 }
12
13 //Minimize All Child Forms
14 private void MinimizeChildForm()
15 {
16 foreach (Form childForm in MdiChildren)
17 {
18 if (childForm.WindowState != FormWindowState.Minimized)
19 {
20 childForm.WindowState = FormWindowState.Minimized;
21 }
22 }
23 }
24
25