private void btnThemSP_Click(object sender, EventArgs e)
        {
            Form frm = ktraform(typeof(FromHangHoa));

            if (frm == null)
            {
                FromHangHoa f = new FromHangHoa();
                f.Show();
            }
            else
            {
                frm.Activate();
            }
        }
Пример #2
0
        private void barButtonItem3_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = ktraform(typeof(FromHangHoa));

            if (frm == null)
            {
                FromHangHoa f = new FromHangHoa();
                f.MdiParent = this;
                f.Show();
            }
            else
            {
                frm.Activate();
            }
        }