Example #1
0
        private void productToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            if (brand.IsDisposed)
            {
                brand = new frmBrand();
            }

            product.BringToFront();
            product.Show();
            product.MdiParent = this;
        }
Example #2
0
        private void brandToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (brand.IsDisposed)
            {
                brand = new frmBrand();
            }

            brand.BringToFront();
            brand.Show();
            brand.MdiParent = this;
        }