예제 #1
0
        private void btnLoaiMP_Click(object sender, EventArgs e)
        {
            Loaihang lmp = new Loaihang();

            if (KiemTraTonTai("Loaihang") == true)
            {
                lmp.Activate();
            }
            else
            {
                lmp.MdiParent = this;
                lmp.Show();
            }
        }
예제 #2
0
        private void quảnLýLoạiMỹPhẩmToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Loaihang lh = new Loaihang();

            if (KiemTraTonTai("Loaihang") == true)
            {
                lh.Activate();
            }
            else
            {
                lh.MdiParent = this;
                lh.Show();
            }
        }
예제 #3
0
        private void loạiMỹPhẩmToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Loaihang nv = new Loaihang();

            if (CheckExistForm("Loaihang"))
            {
                nv.MdiParent = this;
                nv.Show();
            }
            else
            {
                return;
            }
        }