コード例 #1
0
 public void Add(V5Data item)
 {
     LstData.Add(item);
     LstData[Count].PropertyChanged += DataChangedEvent;
     Count++;
     DataChanged(item,
                 new DataChangedEventArgs(ChangeInfo.Add, item.GetType().ToString()));
     AddChangesAfterSave = true;
 }
コード例 #2
0
        public bool RemoveElement(V5Data select_elem)
        {
            bool delete_flg = LstData.Remove(select_elem);

            if (delete_flg)
            {
                --Count;
                AddChangesAfterSave = true;
            }

            return(delete_flg);
        }