Example #1
0
        private void btnKhachHang_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            FrmKhachHang fkhachhang = new FrmKhachHang();

            fkhachhang.MdiParent = this;
            fkhachhang.Show();
        }
Example #2
0
        private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = Checkform((typeof(FrmKhachHang)));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                FrmKhachHang frmKH = new FrmKhachHang();
                frmKH.MdiParent = this;
                frmKH.Show();
            }
        }