Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 private void PAYLISTS_R_PAYLISTS_RRowDeleting(object sender, KlonsADataSet.PAYLISTS_RRowChangeEvent e)
 {
     last_list_RowDeleting_parent = e.Row.PAYLISTSRow;
 }