private void mnuXMLWrite_Click(object sender, EventArgs e) { try { MediaLibraryUtils.SaveLibraryToXML(myMediaLibrary, xmlFile); } catch (BenignException ex) { MessageBox.Show(ex.Message); } }
private void mnuXMLRead_Click(object sender, EventArgs e) { try { MediaLibraryUtils.ReadLibraryFromXML(myMediaLibrary, xmlFile); DisplayCurrentItem(); } catch (BenignException ex) { MessageBox.Show(ex.Message); } }
private void mnuOpenLibrary_Click(object sender, EventArgs e) { MediaLibraryUtils.PopulateLibrary(myMediaLibrary); DisplayCurrentItem(); }
private void mnuXMLRead_Click(object sender, EventArgs e) { MediaLibraryUtils.ReadLibraryFromXML(myMediaLibrary, xmlFile); DisplayCurrentItem(); }
private void mnuXMLWrite_Click(object sender, EventArgs e) { MediaLibraryUtils.SaveLibraryToXML(myMediaLibrary, xmlFile); }