void ws_XoaThongbaoCompleted(object sender, XoaThongbaoCompletedEventArgs e) { if (e.Result == true) { Paradise5.ControlEXT.DialogResultCommon dialog = new Paradise5.ControlEXT.DialogResultCommon(); dialog.setthongdiep("Xóa thông báo thành công"); dialog.Show(); } else { Paradise5.ControlEXT.DialogResultCommon dialog = new Paradise5.ControlEXT.DialogResultCommon(); dialog.setthongdiep("Có lỗi xảy ra"); dialog.Show(); } grViewTB.DeleteRow(grViewTB.FocusedRowHandle); }
void ws_XoaThongbaoCompleted(object sender, XoaThongbaoCompletedEventArgs e) { if (e.Result == true) { Paradise5.ControlEXT.DialogResultCommon dialog = new Paradise5.ControlEXT.DialogResultCommon(); dialog.setthongdiep("Xóa thông báo thành công"); dialog.Show(); } else { Paradise5.ControlEXT.DialogResultCommon dialog = new Paradise5.ControlEXT.DialogResultCommon(); dialog.setthongdiep("Có lỗi xảy ra"); dialog.Show(); } grViewTB.DeleteRow(grViewTB.FocusedRowHandle); }