Example #1
0
 private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Bạn có chắc chắn xóa không?", "Hoa Don", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         bindingNavigator1.BindingSource.RemoveCurrent();
         ctrl.Save();
     }
 }
Example #2
0
 void CapNhat()
 {
     ctrl.Save();
     ctrl.Update();
 }