aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindow.xaml5
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs10
2 files changed, 14 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindow.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindow.xaml
index 404faf4ab..28f0c1e80 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindow.xaml
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindow.xaml
@@ -49,7 +49,10 @@
<TextBlock FontSize="16" Margin="0 20 0 0">Comments</TextBlock>
<TextBox Height="70" Margin="0 5 0 0" Width="500" AcceptsReturn="True" TextWrapping="Wrap" Text="{Binding Comments,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
- <CheckBox Margin="0 10 0 0" IsChecked="{Binding ForcedUpdate}">Forced Update</CheckBox>
+ <StackPanel Orientation="Horizontal" Margin="0 10 0 0">
+ <CheckBox IsChecked="{Binding ForcedUpdate}">Forced Update</CheckBox>
+ <CheckBox Margin="10 0 0 0" IsChecked="{Binding IsStable}">Stable Release</CheckBox>
+ </StackPanel>
</StackPanel>
<Grid DockPanel.Dock="Bottom">
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
index 702343c72..ffeefb820 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
@@ -61,6 +61,15 @@ namespace Tango.MachineStudio.Publisher
set { _forcesUpdate = value; RaisePropertyChangedAuto(); }
}
+ private bool _isStable;
+
+ public bool IsStable
+ {
+ get { return _isStable; }
+ set { _isStable = value; RaisePropertyChangedAuto(); }
+ }
+
+
private String _currentVersion;
public String CurrentVersion
@@ -154,6 +163,7 @@ namespace Tango.MachineStudio.Publisher
Version = CurrentVersion.ToString(),
Comments = Comments,
ForcedUpdate = ForcedUpdate,
+ IsStable = IsStable,
});
tempFile = Path.Combine(Path.GetTempPath(), response.FileName);