Пример #1
0
        private void routes_btn_Click(object sender, EventArgs e)
        {
            this.Hide();
            RoutesForm routes_form = new RoutesForm();

            routes_form.Show();
        }
Пример #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();
     }
 }