protected override object AddNewCore()
        {
            IEqualizationItem item1 = new EqualizationItem();

            base.Add(item1);
            return(item1);
        }
Пример #2
0
        protected override object AddNewCore()
        {
            IEqualizationItem equalizationItem = new EqualizationItem();

            Add(equalizationItem);

            // Not necessary to hook up event handlers, base class calls InsertItem

            return(equalizationItem);
        }