Exemplo n.º 1
0
 private void SaveAsCommand_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     pages.editSoa page = GetCurrentPageInstance();
     if (page != null)
     {
         vmTaxonomy vm = page.ViewmodelProvider();
         utilities.SaveFileAs(vm);
     }
 }
Exemplo n.º 2
0
 private void SaveCommand_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     pages.editSoa page = GetCurrentPageInstance();
     if (page != null)
     {
         vmTaxonomy vm = page.ViewmodelProvider();
         utilities.SaveFile(vm, util.activeFilePath, utilities.fileType.xml);
     }
 }