private void routes_btn_Click(object sender, EventArgs e) { this.Hide(); RoutesForm routes_form = new RoutesForm(); routes_form.Show(); }
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(); } }