public MainWindow()
 {
     InitializeComponent();
     LibraryCollection   = new LibraryCollection();
     ItemCollection      = new MetadataItemCollection();
     CastCollection      = new ActorCollection();
     AllActorsCollection = new ActorCollection();
 }
Exemple #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);
        }