private void butControlBoxes_Click(object sender, EventArgs e) { frmControlBoxes frm = new frmControlBoxes(this); frm.ShowDialog(this); frm.Dispose(); }
private void toolStripMenuItem1_Click_1(object sender, EventArgs e) { frmControlBoxes frm = new frmControlBoxes(this); frm.ShowDialog(this); frm.Dispose(); }