Esempio n. 1
0
 private void mnuXMLWrite_Click(object sender, EventArgs e)
 {
     try
     {
         MediaLibraryUtils.SaveLibraryToXML(myMediaLibrary, xmlFile);
     }
     catch (BenignException ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Esempio n. 2
0
 private void mnuXMLRead_Click(object sender, EventArgs e)
 {
     try
     {
         MediaLibraryUtils.ReadLibraryFromXML(myMediaLibrary, xmlFile);
         DisplayCurrentItem();
     }
     catch (BenignException ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Esempio n. 3
0
 private void mnuOpenLibrary_Click(object sender, EventArgs e)
 {
     MediaLibraryUtils.PopulateLibrary(myMediaLibrary);
     DisplayCurrentItem();
 }
Esempio n. 4
0
 private void mnuXMLRead_Click(object sender, EventArgs e)
 {
     MediaLibraryUtils.ReadLibraryFromXML(myMediaLibrary, xmlFile);
     DisplayCurrentItem();
 }
Esempio n. 5
0
 private void mnuXMLWrite_Click(object sender, EventArgs e)
 {
     MediaLibraryUtils.SaveLibraryToXML(myMediaLibrary, xmlFile);
 }