private void DeleteItem(int index) { if (index >= 0 && index < this.TableModel.Rows.Count) this.TableModel.Rows.RemoveAt(index); }