From 28de564b35207886d181e4a3870f70c3bde04c3d Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 17 Sep 2018 16:06:27 +0300 Subject: Implemented keep modules windows states and bounds after restart. --- .../Tango.MachineStudio.Common/MachineStudioSettings.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs index f54611d9c..22ed1a33d 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs @@ -11,6 +11,13 @@ namespace Tango.MachineStudio.Common { public class MachineStudioSettings : SettingsBase { + public class StudioModuleBounds + { + public String Name { get; set; } + public Rect Bounds { get; set; } + public WindowState State { get; set; } + } + /// /// Gets or sets the last login email. /// @@ -66,6 +73,11 @@ namespace Tango.MachineStudio.Common /// public bool UseExternalBridgeEmulator { get; set; } + /// + /// Gets or sets the studio modules bounds. + /// + public List StudioModulesBounds { get; set; } + /// /// Initializes a new instance of the class. /// @@ -75,6 +87,7 @@ namespace Tango.MachineStudio.Common LoggingCategories = new List(); UpdateServiceAddress = "http://twine01/MachineStudioUpdateService/MachineStudioUpdateService.svc"; DefaultIssueReportTags = new List(); + StudioModulesBounds = new List(); } } } -- cgit v1.3.1