protected override object AddNewCore()
        {
            IAudioText text1 = new AudioText();

            base.Add(text1);
            return(text1);
        }
示例#2
0
        protected override object AddNewCore()
        {
            IAudioText audioText = new AudioText();

            Add(audioText);

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

            return(audioText);
        }