public void AddTable( ) { TableEditor = new TableEditorViewModel(_provider, null); TableEditor.TableEdited += Update; if (TableContent != null) { TableContent.Dispose( ); } TableContent = new TableContentViewModel(_provider, null); }