예제 #1
0
 private void ApplicationListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if(_applicationListForm == null)
     {
         var form = new ApplicationListForm(_controller) {MdiParent = this};
         form.FormClosed += ApplicationList_FormClosed;
         form.Show();
         _applicationListForm = form;
     }
     else
     {
         _applicationListForm.Activate();
     }
 }
예제 #2
0
 private void ApplicationList_FormClosed(object sender, FormClosedEventArgs e)
 {
     _applicationListForm = null;
 }