public Main() { InitializeComponent(); Inks_add = new Add_Toners(); iink_form = new Inks(this); withdraw_form = new withdraw(); Add_P = new Add_printer_S(); View_P = new Views_Printers(); }
public void Withdraw_window(object sender, EventArgs e) { if (IsformOpen(withdraw_form) == false) { withdraw_form = new withdraw(); // withdraw_form.MdiParent = this; withdraw_form.ShowDialog(); } else { withdraw_form.BringToFront(); } }