Ejemplo n.º 1
0
        public void Remove(Altaxo.Data.DataTable theTable)
        {
            if (m_TablesByName.ContainsValue(theTable))
            {
                m_TablesByName.Remove(theTable.Name);
                theTable.ParentChanged -= new Main.ParentChangedEventHandler(this.EhTableParentChanged);
                theTable.NameChanged   -= new Main.NameChangedEventHandler(this.EhTableNameChanged);
                theTable.ParentObject   = null;
            }

            this.SelfChanged(ChangedEventArgs.IfTableRemoved);
        }