Exemplo n.º 1
0
        private void btnAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            H_MemberPackage_Modify frm = new H_MemberPackage_Modify();

            frm.ShowDialog();
            GetDataOnMemberPackage();
        }
Exemplo n.º 2
0
 private void btnEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (drMemberPackage != null)
     {
         H_MemberPackage_Modify frm = new H_MemberPackage_Modify(true, drMemberPackage);
         frm.ShowDialog();
         GetDataOnMemberPackage();
     }
     else
     {
         MessageBox.Show("Vui lòng chọn gói tập!", "Thông báo!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Exemplo n.º 3
0
 private void gvMemberPackage_DoubleClick(object sender, EventArgs e)
 {
     if (drMemberPackage != null)
     {
         H_MemberPackage_Modify frm = new H_MemberPackage_Modify(true, drMemberPackage);
         frm.ShowDialog();
         GetDataOnMemberPackage();
     }
     else
     {
         MessageBox.Show("Vui lòng chọn gói tập!", "Thông báo!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }