public void Insert(int index, Row row)
{
if (row == null)
{
return;
}
if (index < 0)
{
throw new IndexOutOfRangeException();
}
if (index >= this.Count)
{
this.Add(row);
}
else
{
base.List.Insert(index, row);
if (owner != null)
this.owner.OnRowAdded(new TableModelEventArgs(this.owner, row, index, index));
else if (rowowner != null)
this.OnRowAdded(new RowEventArgs(row, RowEventType.Unknown));
}
}