Esempio n. 1
0
        private void FillDiskByDefault()
        {
            Items = new List <IMediaItem>();

            _itemCreator = new AudioCreator();
            Items.Add(_itemCreator.CreateItem("AudioTrack01"));

            _itemCreator = new ImageCreator();
            Items.Add(_itemCreator.CreateItem("Image01"));
        }
 //
 //Create
 public void AddAudio(string name)
 {
     _itemCreator = new AudioCreator();
     Items.Add(_itemCreator.CreateItem(name));
 }