private void Tb_RowDeleted(object sender, DataRowChangeEventArgs e) { if (_cban.isPrinted) { _cban.tb.RejectChanges(); return; } _cban.GetSum(); }
void gridControl1_KeyUp(object sender, KeyEventArgs e) { if (_cban.tb.Rows.Count > 0 && bs.Current != null && e.KeyCode == Keys.F4) { bs.RemoveCurrent(); _cban.GetSum(); _cban_TienChange(sender, e); } }