Example #1
0
        private void btnHangHoa_Click(object sender, EventArgs e)
        {
            Form form = searchOpenedForm("HangHoaManagerForm");

            if (form == null)
            {
                form = new HangHoaManagerForm();
            }
            form.Show();
            form.Activate();
        }
Example #2
0
        private void hàngHóaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form form = searchOpenedForm("HangHoaManagerForm");

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