diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-04 11:58:10 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-04 11:58:10 +0300 |
| commit | 0b804fd5df94b66c6be119660581ab3978d31d59 (patch) | |
| tree | 54aa895584710e980f5f0c0701824586f1aaf3d1 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs | |
| parent | 3e11b6594d73eb3e7eda93920ecef942f4c301c4 (diff) | |
| download | Tango-0b804fd5df94b66c6be119660581ab3978d31d59.tar.gz Tango-0b804fd5df94b66c6be119660581ab3978d31d59.zip | |
Fixed issue with machine studio update service version sorting.
Added about dialog to machine studio with version information.
Fixed issue with Stubs UI installer.
Stubs UI v3.1
Machine Studio v1.0.0.10
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs index 48b0fdada..fdad31251 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs @@ -43,14 +43,14 @@ namespace Tango.MachineStudio.UI.StudioApplication _navigationManager = navigationManager; _openedWindows = new List<Window>(); - Task.Factory.StartNew(() => + Task.Factory.StartNew(() => { while (MainWindow.Instance == null) { Thread.Sleep(100); } - InvokeUI(() => + InvokeUI(() => { MainWindow.Instance.ContentRendered += (_, __) => { @@ -256,5 +256,38 @@ namespace Tango.MachineStudio.UI.StudioApplication window.Closed += (x, y) => { _openedWindows.Remove(window); }; } + + /// <summary> + /// Gets the core libraries version. + /// </summary> + public string CoreVersion + { + get + { + return typeof(ExtendedObject).Assembly.GetName().Version.ToString(); + } + } + + /// <summary> + /// Gets the build date. + /// </summary> + public string BuildDate + { + get + { + return Properties.Resources.BuildDate; + } + } + + /// <summary> + /// Gets the change log. + /// </summary> + public string ChangeLog + { + get + { + return EmbeddedResourceHelper.GetEmbeddedResourceText("Tango.MachineStudio.UI.ChangeLogs.MachineStudioChangeLog.txt") + Environment.NewLine + Environment.NewLine + Environment.NewLine + EmbeddedResourceHelper.GetEmbeddedResourceText("Tango.MachineStudio.UI.ChangeLogs.CoreChangeLog.txt"); + } + } } } |
