Пример #1
0
    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();
    }
Пример #2
0
    private void button3_Click(object sender, EventArgs e)
    {
        SALES s = new SALES();

        s.Show();
    }