Esempio n. 1
0
 private void personListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (plForm == null)
     {
         plForm = new PeopleList
         {
             MdiParent = this
         };
         plForm.FormClosed += new FormClosedEventHandler(plForm_FormClosed);
         plForm.Show();
     }
     else
     {
         plForm.Activate();
     }
 }
Esempio n. 2
0
 private void plForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     plForm = null;
 }