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