private void toolStripButton9_Click(object sender, EventArgs e) { if (acc_code != null) { counters newMDICheild = new counters(); newMDICheild.MdiParent = this.MdiParent; // Display the new form. newMDICheild.Show(); } else { MessageBox.Show("Лицевой счет не выбран"); } }