Example #1
0
 private void RoutesForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     _routesForm = null;
 }
Example #2
0
 private void RoutesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_routesForm == null)
     {
         _routesForm = new RoutesForm() { MdiParent = this };
         _routesForm.FormClosed += RoutesForm_FormClosed;
         _routesForm.Show();
     }
     else
     {
         _routesForm.Activate();
     }
 }