Пример #1
0
 public MainWindow()
 {
     InitializeComponent();
     LibraryCollection   = new LibraryCollection();
     ItemCollection      = new MetadataItemCollection();
     CastCollection      = new ActorCollection();
     AllActorsCollection = new ActorCollection();
 }
Пример #2
0
        public static MetadataItemCollection Load(string filepathname)
        {
            MetadataItemCollection coll;

            if (System.IO.File.Exists(filepathname))
            {
                coll = MetadataItemCollection.XmlDeserialize(filepathname);
            }
            else
            {
                coll = new MetadataItemCollection( );
            }
            return(coll);
        }