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