diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-15 16:21:13 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-15 16:21:13 +0200 |
| commit | dcdee2479e0dc709835e97853bb9db0349210336 (patch) | |
| tree | ceafc1d3679931f0798236434e284d9a7ed644de /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher | |
| parent | b0909a133eaba5223ca397c8186ba6b96fdaa647 (diff) | |
| download | Tango-dcdee2479e0dc709835e97853bb9db0349210336.tar.gz Tango-dcdee2479e0dc709835e97853bb9db0349210336.zip | |
Machine Studio v3.5.70 Stable.
Added stable/beta release modes.
Handle corrupted log file names.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindow.xaml | 5 | ||||
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs | 10 |
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); |
