예제 #1
0
파일: MDIForm.cs 프로젝트: rew170/soomecode
 public MDIForm()
 {
     InitializeComponent();
     if (helpForm == null)
     {
         helpForm = new helpForm();
         helpForm.MdiParent = this;
         helpForm.WindowState = FormWindowState.Maximized;
         helpForm.Show();
         helpForm.FormClosed += new FormClosedEventHandler(helpForm_FormClosed);
     }
 }
예제 #2
0
파일: MDIForm.cs 프로젝트: rew170/soomecode
 private void helpToolBtn_Click(object sender, EventArgs e)
 {
     if (helpForm == null)
     {
         helpForm = new helpForm();
         helpForm.MdiParent = this;
         helpForm.WindowState = FormWindowState.Maximized;
         helpForm.FormClosed += new FormClosedEventHandler(helpForm_FormClosed);
         helpForm.Show();
     }
     else {
         helpForm.WindowState = FormWindowState.Maximized;
         helpForm.Activate();
         helpForm.Focus();
     }
 }