예제 #1
0
        private void btnNhomHang_Click(object sender, EventArgs e)
        {
            Form form = searchOpenedForm("NhomHangManagerForm");

            if (form == null)
            {
                form = new NhomHangManagerForm();
            }
            form.Show();
            form.Activate();
        }
예제 #2
0
        private void nhómHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form form = searchOpenedForm("NhomHangManagerForm");

            if (form == null)
            {
                form = new NhomHangManagerForm();
            }
            form.MdiParent = this;
            form.Show();
            form.Activate();
        }