Ejemplo 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"));
        }
Ejemplo n.º 2
0
 public void AddImage(string name)
 {
     _itemCreator = new ImageCreator();
     Items.Add(_itemCreator.CreateItem(name));
 }