示例#1
0
 private void btnKhachHang_ItemClick(object sender, ItemClickEventArgs e)
 {
     Form frm = this.KiemTraTonTai(typeof(PresentationLayers.frmKhachHang));
     if (frm != null)
     {
         frm.Activate();
     }
     else
     {
         PresentationLayers.frmKhachHang f = new PresentationLayers.frmKhachHang();
         f.MdiParent = this;
         f.Show();
     }
 }
示例#2
0
 private void btnThemKhachHang_Click(object sender, EventArgs e)
 {
     frmKhachHang f = new frmKhachHang();
     f.ShowDialog();
 }