protected override object AddNewCore()
        {
            IMusicianCreditsItem item1 = new MusicianCreditsItem();

            base.Add(item1);
            return(item1);
        }
예제 #2
0
        protected override object AddNewCore()
        {
            IMusicianCreditsItem musicianCreditsItem = new MusicianCreditsItem();

            Add(musicianCreditsItem);

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

            return(musicianCreditsItem);
        }