private void PAYLISTS_R_PAYLISTS_RRowDeleted(object sender, KlonsADataSet.PAYLISTS_RRowChangeEvent e) { if (e.Action == DataRowAction.Add || e.Action == DataRowAction.Change) { CheckListTotal(e.Row.PAYLISTSRow); } }
private void PAYLISTS_R_PAYLISTS_RRowChanged(object sender, KlonsADataSet.PAYLISTS_RRowChangeEvent e) { KlonsADataSet.PAYLISTSRow dr = null; if (e.Row.HasVersion(DataRowVersion.Original)) { int listid = (int)e.Row["IDS", DataRowVersion.Original]; dr = MyData.DataSetKlons.PAYLISTS.FindByID(listid); } else { dr = last_list_RowDeleting_parent; } if (dr == null) { return; } CheckListTotal(dr); }
private void PAYLISTS_R_PAYLISTS_RRowDeleting(object sender, KlonsADataSet.PAYLISTS_RRowChangeEvent e) { last_list_RowDeleting_parent = e.Row.PAYLISTSRow; }