public MainWindow() { InitializeComponent(); LibraryCollection = new LibraryCollection(); ItemCollection = new MetadataItemCollection(); CastCollection = new ActorCollection(); AllActorsCollection = new ActorCollection(); }
public static MetadataItemCollection Load(string filepathname) { MetadataItemCollection coll; if (System.IO.File.Exists(filepathname)) { coll = MetadataItemCollection.XmlDeserialize(filepathname); } else { coll = new MetadataItemCollection( ); } return(coll); }