private void sALESRECORDToolStripMenuItem_Click(object sender, EventArgs e) { foreach (Form form in Application.OpenForms) { if (form.GetType() == typeof(SALES)) { form.Activate(); return; } } SALES s = new SALES(); s.MdiParent = this; s.Show(); }
private void button3_Click(object sender, EventArgs e) { SALES s = new SALES(); s.Show(); }