private void ControlSaveBlueprint_Click(object sender, RoutedEventArgs e)
 {
     SetFilePath(FileLocation.Text);
     FileLocation.Text = GetFolderFromPath(Storage.BlueprintRegistryItem.FilePath);
     Blueprint.Name    = BlueprintName.Text;
     DesktopService.SaveBlueprint();
 }
Exemple #2
0
 private void SetupButtonBar()
 {
     foreach (var(display, flag) in GetButtonBarList)
     {
         AddUnitTypeButtonToButtonBar(display, flag);
     }
     AddButtonToButtonBar("💾", "Save Blueprint", (sender, e) =>
     {
         DesktopService.SaveBlueprint();
     });
 }
Exemple #3
0
 private void MenuItem_ClickSaveBlueprint(object sender, RoutedEventArgs e)
 {
     DesktopService.SaveBlueprint();
 }