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(); }
private void RibbonButton11_Click(object sender, EventArgs e) { if (IsformOpen(View_P) == false) { View_P = new Views_Printers(); View_P.MdiParent = this; View_P.Show(); View_P.BringToFront(); } else { View_P.BringToFront(); } }