diff options
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs index 2e201b6af..4dc1bb713 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs @@ -21,6 +21,7 @@ using Tango.Core.DI; using Tango.Core.Helpers; using Tango.Logging; using Tango.MachineStudio.Common; +using Tango.MachineStudio.Common.Buid; using Tango.MachineStudio.Common.StudioApplication; using Tango.Settings; @@ -43,15 +44,6 @@ namespace Tango.MachineStudio.UI { InitializeComponent(); - try - { - _is_testing = TestHelper.IsRunningUnderTestStudio(); - } - catch (Exception ex) - { - LogManager.Log(ex, LogCategory.Warning, "An error occurred while trying to get the parent process of machine studio."); - } - if (!_is_testing) { Viewbox box = new Viewbox(); @@ -89,7 +81,7 @@ namespace Tango.MachineStudio.UI { WindowState = WindowState.Maximized; - Title = "MACHINE STUDIO " + TangoIOC.Default.GetInstance<IStudioApplicationManager>().Version.ToString(3); + Title = "MACHINE STUDIO " + (TangoIOC.Default.GetInstance<IBuildProvider>().BuildType == MSBuildType.Lite ? "LITE " : "") + TangoIOC.Default.GetInstance<IStudioApplicationManager>().Version.ToString(3); } private void MainWindow_SizeChanged(object sender, SizeChangedEventArgs e) |
