Пример #1
0
        public virtual void RemoveRow(MemoTableRow row)
        {
            Contract.Requires(row != null);
            var index = _rows.IndexOf(row);

            if (index > -1)
            {
                RemoveRowAt(index);
            }
        }
Пример #2
0
 // ========================================
 // method
 // ========================================
 // --- row ---
 public virtual void AddRowInternal(MemoTableRow row)
 {
     Contract.Requires(row != null);
     _rows.Add(row);
 }
Пример #3
0
 public virtual void InsertRow(int index, MemoTableRow row)
 {
     _rows.Insert(index, row);
     ++_rowCount;
     OnPropertyAdded(this, "Rows", row, index);
 }