Published v0.12.2.0
authorStephaneLenclud
Sun, 21 Aug 2016 19:31:08 +0200
changeset 251f60cfcb98c9a
parent 250 b2121d03f6f0
child 252 59ea5cb46258
Published v0.12.2.0
Adding setting for Logitech user name.
Improved event tree view update following Harmony connection.
Removed unneeded editable fields from Harmony command action.
Server/Actions/ActionHarmonyCommand.cs
Server/App.config
Server/FormMain.Designer.cs
Server/FormMain.cs
Server/Properties/Settings.Designer.cs
Server/Properties/Settings.settings
Server/SharpDisplayManager.csproj
     1.1 --- a/Server/Actions/ActionHarmonyCommand.cs	Sun Aug 21 18:35:58 2016 +0200
     1.2 +++ b/Server/Actions/ActionHarmonyCommand.cs	Sun Aug 21 19:31:08 2016 +0200
     1.3 @@ -15,20 +15,9 @@
     1.4      class ActionHarmonyCommand : Ear.Action
     1.5      {
     1.6          [DataMember]
     1.7 -        [AttributeObjectProperty(
     1.8 -            Id = "Harmony.Command.DeviceId",
     1.9 -            Name = "Device ID",
    1.10 -            Description = "The ID of the device this command is associated with."
    1.11 -        )]
    1.12          public string DeviceId { get; set; } = "";
    1.13  
    1.14 -
    1.15          [DataMember]
    1.16 -        [AttributeObjectProperty(
    1.17 -        Id = "Harmony.Command.FunctionName",
    1.18 -        Name = "Function Name",
    1.19 -        Description = "The name of the function defining this command."
    1.20 -        )]
    1.21          public string FunctionName { get; set; } = "";
    1.22  
    1.23          [DataMember]
     2.1 --- a/Server/App.config	Sun Aug 21 18:35:58 2016 +0200
     2.2 +++ b/Server/App.config	Sun Aug 21 19:31:08 2016 +0200
     2.3 @@ -40,6 +40,9 @@
     2.4              <setting name="HarmonyHubAddress" serializeAs="String">
     2.5                  <value>HarmonyHub</value>
     2.6              </setting>
     2.7 +            <setting name="LogitechUserName" serializeAs="String">
     2.8 +                <value />
     2.9 +            </setting>
    2.10          </SharpDisplayManager.Properties.Settings>
    2.11      </userSettings>
    2.12  </configuration>
     3.1 --- a/Server/FormMain.Designer.cs	Sun Aug 21 18:35:58 2016 +0200
     3.2 +++ b/Server/FormMain.Designer.cs	Sun Aug 21 19:31:08 2016 +0200
     3.3 @@ -51,7 +51,6 @@
     3.4              this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
     3.5              this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
     3.6              this.tabPageClients = new System.Windows.Forms.TabPage();
     3.7 -            this.iCheckBoxStartIdleClient = new System.Windows.Forms.CheckBox();
     3.8              this.iButtonStartIdleClient = new System.Windows.Forms.Button();
     3.9              this.buttonCloseClients = new System.Windows.Forms.Button();
    3.10              this.buttonStartClient = new System.Windows.Forms.Button();
    3.11 @@ -65,7 +64,6 @@
    3.12              this.maskedTextBoxTimerInterval = new System.Windows.Forms.MaskedTextBox();
    3.13              this.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
    3.14              this.buttonSuspend = new System.Windows.Forms.Button();
    3.15 -            this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
    3.16              this.trackBarBrightness = new System.Windows.Forms.TrackBar();
    3.17              this.buttonFill = new System.Windows.Forms.Button();
    3.18              this.buttonClear = new System.Windows.Forms.Button();
    3.19 @@ -100,11 +98,9 @@
    3.20              this.checkBoxCecLogNotice = new System.Windows.Forms.CheckBox();
    3.21              this.checkBoxCecLogError = new System.Windows.Forms.CheckBox();
    3.22              this.checkBoxCecLogWarning = new System.Windows.Forms.CheckBox();
    3.23 -            this.checkBoxCecEnabled = new System.Windows.Forms.CheckBox();
    3.24              this.labelHdmiPort = new System.Windows.Forms.Label();
    3.25              this.comboBoxHdmiPort = new System.Windows.Forms.ComboBox();
    3.26              this.tabPageHarmony = new System.Windows.Forms.TabPage();
    3.27 -            this.iCheckBoxHarmonyEnabled = new System.Windows.Forms.CheckBox();
    3.28              this.iTreeViewHarmony = new System.Windows.Forms.TreeView();
    3.29              this.iButtonHarmonyConnect = new System.Windows.Forms.Button();
    3.30              this.label2 = new System.Windows.Forms.Label();
    3.31 @@ -126,8 +122,6 @@
    3.32              this.buttonActionAdd = new System.Windows.Forms.Button();
    3.33              this.iTreeViewEvents = new System.Windows.Forms.TreeView();
    3.34              this.tabPageApp = new System.Windows.Forms.TabPage();
    3.35 -            this.checkBoxStartMinimized = new System.Windows.Forms.CheckBox();
    3.36 -            this.checkBoxMinimizeToTray = new System.Windows.Forms.CheckBox();
    3.37              this.checkBoxAutoStart = new System.Windows.Forms.CheckBox();
    3.38              this.buttonUpdate = new System.Windows.Forms.Button();
    3.39              this.tabPageLogs = new System.Windows.Forms.TabPage();
    3.40 @@ -137,6 +131,12 @@
    3.41              this.labelFontHeight = new System.Windows.Forms.Label();
    3.42              this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    3.43              this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
    3.44 +            this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
    3.45 +            this.iCheckBoxStartIdleClient = new System.Windows.Forms.CheckBox();
    3.46 +            this.checkBoxCecEnabled = new System.Windows.Forms.CheckBox();
    3.47 +            this.iCheckBoxHarmonyEnabled = new System.Windows.Forms.CheckBox();
    3.48 +            this.checkBoxStartMinimized = new System.Windows.Forms.CheckBox();
    3.49 +            this.checkBoxMinimizeToTray = new System.Windows.Forms.CheckBox();
    3.50              this.panelDisplay.SuspendLayout();
    3.51              this.iTableLayoutPanel.SuspendLayout();
    3.52              this.statusStrip.SuspendLayout();
    3.53 @@ -285,20 +285,6 @@
    3.54              this.tabPageClients.Text = "Clients";
    3.55              this.tabPageClients.UseVisualStyleBackColor = true;
    3.56              // 
    3.57 -            // iCheckBoxStartIdleClient
    3.58 -            // 
    3.59 -            this.iCheckBoxStartIdleClient.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    3.60 -            this.iCheckBoxStartIdleClient.AutoSize = true;
    3.61 -            this.iCheckBoxStartIdleClient.Checked = global::SharpDisplayManager.Properties.Settings.Default.StartIdleClient;
    3.62 -            this.iCheckBoxStartIdleClient.CheckState = System.Windows.Forms.CheckState.Checked;
    3.63 -            this.iCheckBoxStartIdleClient.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "StartIdleClient", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
    3.64 -            this.iCheckBoxStartIdleClient.Location = new System.Drawing.Point(108, 340);
    3.65 -            this.iCheckBoxStartIdleClient.Name = "iCheckBoxStartIdleClient";
    3.66 -            this.iCheckBoxStartIdleClient.Size = new System.Drawing.Size(145, 17);
    3.67 -            this.iCheckBoxStartIdleClient.TabIndex = 22;
    3.68 -            this.iCheckBoxStartIdleClient.Text = "Start idle client on startup";
    3.69 -            this.iCheckBoxStartIdleClient.UseVisualStyleBackColor = true;
    3.70 -            // 
    3.71              // iButtonStartIdleClient
    3.72              // 
    3.73              this.iButtonStartIdleClient.Location = new System.Drawing.Point(6, 35);
    3.74 @@ -446,19 +432,6 @@
    3.75              this.buttonSuspend.UseVisualStyleBackColor = true;
    3.76              this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
    3.77              // 
    3.78 -            // checkBoxConnectOnStartup
    3.79 -            // 
    3.80 -            this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    3.81 -            this.checkBoxConnectOnStartup.AutoSize = true;
    3.82 -            this.checkBoxConnectOnStartup.Checked = global::SharpDisplayManager.Properties.Settings.Default.DisplayConnectOnStartup;
    3.83 -            this.checkBoxConnectOnStartup.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "DisplayConnectOnStartup", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
    3.84 -            this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 350);
    3.85 -            this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
    3.86 -            this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
    3.87 -            this.checkBoxConnectOnStartup.TabIndex = 13;
    3.88 -            this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
    3.89 -            this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
    3.90 -            // 
    3.91              // trackBarBrightness
    3.92              // 
    3.93              this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    3.94 @@ -777,9 +750,9 @@
    3.95              // tabPageCec
    3.96              // 
    3.97              this.tabPageCec.Controls.Add(this.groupBoxCecLogOptions);
    3.98 -            this.tabPageCec.Controls.Add(this.checkBoxCecEnabled);
    3.99              this.tabPageCec.Controls.Add(this.labelHdmiPort);
   3.100              this.tabPageCec.Controls.Add(this.comboBoxHdmiPort);
   3.101 +            this.tabPageCec.Controls.Add(this.checkBoxCecEnabled);
   3.102              this.tabPageCec.Location = new System.Drawing.Point(4, 22);
   3.103              this.tabPageCec.Name = "tabPageCec";
   3.104              this.tabPageCec.Padding = new System.Windows.Forms.Padding(3);
   3.105 @@ -878,19 +851,6 @@
   3.106              this.checkBoxCecLogWarning.UseVisualStyleBackColor = true;
   3.107              this.checkBoxCecLogWarning.CheckedChanged += new System.EventHandler(this.checkBoxCecLogs_CheckedChanged);
   3.108              // 
   3.109 -            // checkBoxCecEnabled
   3.110 -            // 
   3.111 -            this.checkBoxCecEnabled.AutoSize = true;
   3.112 -            this.checkBoxCecEnabled.Checked = global::SharpDisplayManager.Properties.Settings.Default.CecEnabled;
   3.113 -            this.checkBoxCecEnabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "CecEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.114 -            this.checkBoxCecEnabled.Location = new System.Drawing.Point(6, 6);
   3.115 -            this.checkBoxCecEnabled.Name = "checkBoxCecEnabled";
   3.116 -            this.checkBoxCecEnabled.Size = new System.Drawing.Size(83, 17);
   3.117 -            this.checkBoxCecEnabled.TabIndex = 21;
   3.118 -            this.checkBoxCecEnabled.Text = "Enable CEC";
   3.119 -            this.checkBoxCecEnabled.UseVisualStyleBackColor = true;
   3.120 -            this.checkBoxCecEnabled.CheckedChanged += new System.EventHandler(this.checkBoxCecEnabled_CheckedChanged);
   3.121 -            // 
   3.122              // labelHdmiPort
   3.123              // 
   3.124              this.labelHdmiPort.AutoSize = true;
   3.125 @@ -939,18 +899,6 @@
   3.126              this.tabPageHarmony.Text = "Harmony";
   3.127              this.tabPageHarmony.UseVisualStyleBackColor = true;
   3.128              // 
   3.129 -            // iCheckBoxHarmonyEnabled
   3.130 -            // 
   3.131 -            this.iCheckBoxHarmonyEnabled.AutoSize = true;
   3.132 -            this.iCheckBoxHarmonyEnabled.Checked = global::SharpDisplayManager.Properties.Settings.Default.HarmonyEnabled;
   3.133 -            this.iCheckBoxHarmonyEnabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "HarmonyEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.134 -            this.iCheckBoxHarmonyEnabled.Location = new System.Drawing.Point(6, 6);
   3.135 -            this.iCheckBoxHarmonyEnabled.Name = "iCheckBoxHarmonyEnabled";
   3.136 -            this.iCheckBoxHarmonyEnabled.Size = new System.Drawing.Size(104, 17);
   3.137 -            this.iCheckBoxHarmonyEnabled.TabIndex = 22;
   3.138 -            this.iCheckBoxHarmonyEnabled.Text = "Enable Harmony";
   3.139 -            this.iCheckBoxHarmonyEnabled.UseVisualStyleBackColor = true;
   3.140 -            // 
   3.141              // iTreeViewHarmony
   3.142              // 
   3.143              this.iTreeViewHarmony.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   3.144 @@ -1004,10 +952,12 @@
   3.145              // iTextBoxLogitechUserName
   3.146              // 
   3.147              this.iTextBoxLogitechUserName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
   3.148 +            this.iTextBoxLogitechUserName.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::SharpDisplayManager.Properties.Settings.Default, "LogitechUserName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.149              this.iTextBoxLogitechUserName.Location = new System.Drawing.Point(436, 23);
   3.150              this.iTextBoxLogitechUserName.Name = "iTextBoxLogitechUserName";
   3.151              this.iTextBoxLogitechUserName.Size = new System.Drawing.Size(134, 20);
   3.152              this.iTextBoxLogitechUserName.TabIndex = 10;
   3.153 +            this.iTextBoxLogitechUserName.Text = global::SharpDisplayManager.Properties.Settings.Default.LogitechUserName;
   3.154              // 
   3.155              // label1
   3.156              // 
   3.157 @@ -1185,32 +1135,6 @@
   3.158              this.tabPageApp.Text = "Application";
   3.159              this.tabPageApp.UseVisualStyleBackColor = true;
   3.160              // 
   3.161 -            // checkBoxStartMinimized
   3.162 -            // 
   3.163 -            this.checkBoxStartMinimized.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   3.164 -            this.checkBoxStartMinimized.AutoSize = true;
   3.165 -            this.checkBoxStartMinimized.Checked = global::SharpDisplayManager.Properties.Settings.Default.StartMinimized;
   3.166 -            this.checkBoxStartMinimized.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "StartMinimized", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.167 -            this.checkBoxStartMinimized.Location = new System.Drawing.Point(6, 285);
   3.168 -            this.checkBoxStartMinimized.Name = "checkBoxStartMinimized";
   3.169 -            this.checkBoxStartMinimized.Size = new System.Drawing.Size(96, 17);
   3.170 -            this.checkBoxStartMinimized.TabIndex = 16;
   3.171 -            this.checkBoxStartMinimized.Text = "Start minimized";
   3.172 -            this.checkBoxStartMinimized.UseVisualStyleBackColor = true;
   3.173 -            // 
   3.174 -            // checkBoxMinimizeToTray
   3.175 -            // 
   3.176 -            this.checkBoxMinimizeToTray.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   3.177 -            this.checkBoxMinimizeToTray.AutoSize = true;
   3.178 -            this.checkBoxMinimizeToTray.Checked = global::SharpDisplayManager.Properties.Settings.Default.MinimizeToTray;
   3.179 -            this.checkBoxMinimizeToTray.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "MinimizeToTray", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.180 -            this.checkBoxMinimizeToTray.Location = new System.Drawing.Point(6, 308);
   3.181 -            this.checkBoxMinimizeToTray.Name = "checkBoxMinimizeToTray";
   3.182 -            this.checkBoxMinimizeToTray.Size = new System.Drawing.Size(133, 17);
   3.183 -            this.checkBoxMinimizeToTray.TabIndex = 15;
   3.184 -            this.checkBoxMinimizeToTray.Text = "Minimize to system tray";
   3.185 -            this.checkBoxMinimizeToTray.UseVisualStyleBackColor = true;
   3.186 -            // 
   3.187              // checkBoxAutoStart
   3.188              // 
   3.189              this.checkBoxAutoStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   3.190 @@ -1294,6 +1218,84 @@
   3.191              // 
   3.192              this.openFileDialog.Filter = "EXE files (*.exe)|*.exe|All files (*.*)|*.*";
   3.193              // 
   3.194 +            // checkBoxConnectOnStartup
   3.195 +            // 
   3.196 +            this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   3.197 +            this.checkBoxConnectOnStartup.AutoSize = true;
   3.198 +            this.checkBoxConnectOnStartup.Checked = global::SharpDisplayManager.Properties.Settings.Default.DisplayConnectOnStartup;
   3.199 +            this.checkBoxConnectOnStartup.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "DisplayConnectOnStartup", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.200 +            this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 350);
   3.201 +            this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
   3.202 +            this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
   3.203 +            this.checkBoxConnectOnStartup.TabIndex = 13;
   3.204 +            this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
   3.205 +            this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
   3.206 +            // 
   3.207 +            // iCheckBoxStartIdleClient
   3.208 +            // 
   3.209 +            this.iCheckBoxStartIdleClient.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   3.210 +            this.iCheckBoxStartIdleClient.AutoSize = true;
   3.211 +            this.iCheckBoxStartIdleClient.Checked = global::SharpDisplayManager.Properties.Settings.Default.StartIdleClient;
   3.212 +            this.iCheckBoxStartIdleClient.CheckState = System.Windows.Forms.CheckState.Checked;
   3.213 +            this.iCheckBoxStartIdleClient.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "StartIdleClient", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.214 +            this.iCheckBoxStartIdleClient.Location = new System.Drawing.Point(108, 340);
   3.215 +            this.iCheckBoxStartIdleClient.Name = "iCheckBoxStartIdleClient";
   3.216 +            this.iCheckBoxStartIdleClient.Size = new System.Drawing.Size(145, 17);
   3.217 +            this.iCheckBoxStartIdleClient.TabIndex = 22;
   3.218 +            this.iCheckBoxStartIdleClient.Text = "Start idle client on startup";
   3.219 +            this.iCheckBoxStartIdleClient.UseVisualStyleBackColor = true;
   3.220 +            // 
   3.221 +            // checkBoxCecEnabled
   3.222 +            // 
   3.223 +            this.checkBoxCecEnabled.AutoSize = true;
   3.224 +            this.checkBoxCecEnabled.Checked = global::SharpDisplayManager.Properties.Settings.Default.CecEnabled;
   3.225 +            this.checkBoxCecEnabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "CecEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.226 +            this.checkBoxCecEnabled.Location = new System.Drawing.Point(6, 6);
   3.227 +            this.checkBoxCecEnabled.Name = "checkBoxCecEnabled";
   3.228 +            this.checkBoxCecEnabled.Size = new System.Drawing.Size(83, 17);
   3.229 +            this.checkBoxCecEnabled.TabIndex = 21;
   3.230 +            this.checkBoxCecEnabled.Text = "Enable CEC";
   3.231 +            this.checkBoxCecEnabled.UseVisualStyleBackColor = true;
   3.232 +            this.checkBoxCecEnabled.CheckedChanged += new System.EventHandler(this.checkBoxCecEnabled_CheckedChanged);
   3.233 +            // 
   3.234 +            // iCheckBoxHarmonyEnabled
   3.235 +            // 
   3.236 +            this.iCheckBoxHarmonyEnabled.AutoSize = true;
   3.237 +            this.iCheckBoxHarmonyEnabled.Checked = global::SharpDisplayManager.Properties.Settings.Default.HarmonyEnabled;
   3.238 +            this.iCheckBoxHarmonyEnabled.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "HarmonyEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.239 +            this.iCheckBoxHarmonyEnabled.Location = new System.Drawing.Point(6, 6);
   3.240 +            this.iCheckBoxHarmonyEnabled.Name = "iCheckBoxHarmonyEnabled";
   3.241 +            this.iCheckBoxHarmonyEnabled.Size = new System.Drawing.Size(104, 17);
   3.242 +            this.iCheckBoxHarmonyEnabled.TabIndex = 22;
   3.243 +            this.iCheckBoxHarmonyEnabled.Text = "Enable Harmony";
   3.244 +            this.iCheckBoxHarmonyEnabled.UseVisualStyleBackColor = true;
   3.245 +            // 
   3.246 +            // checkBoxStartMinimized
   3.247 +            // 
   3.248 +            this.checkBoxStartMinimized.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   3.249 +            this.checkBoxStartMinimized.AutoSize = true;
   3.250 +            this.checkBoxStartMinimized.Checked = global::SharpDisplayManager.Properties.Settings.Default.StartMinimized;
   3.251 +            this.checkBoxStartMinimized.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "StartMinimized", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.252 +            this.checkBoxStartMinimized.Location = new System.Drawing.Point(6, 285);
   3.253 +            this.checkBoxStartMinimized.Name = "checkBoxStartMinimized";
   3.254 +            this.checkBoxStartMinimized.Size = new System.Drawing.Size(96, 17);
   3.255 +            this.checkBoxStartMinimized.TabIndex = 16;
   3.256 +            this.checkBoxStartMinimized.Text = "Start minimized";
   3.257 +            this.checkBoxStartMinimized.UseVisualStyleBackColor = true;
   3.258 +            // 
   3.259 +            // checkBoxMinimizeToTray
   3.260 +            // 
   3.261 +            this.checkBoxMinimizeToTray.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   3.262 +            this.checkBoxMinimizeToTray.AutoSize = true;
   3.263 +            this.checkBoxMinimizeToTray.Checked = global::SharpDisplayManager.Properties.Settings.Default.MinimizeToTray;
   3.264 +            this.checkBoxMinimizeToTray.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::SharpDisplayManager.Properties.Settings.Default, "MinimizeToTray", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
   3.265 +            this.checkBoxMinimizeToTray.Location = new System.Drawing.Point(6, 308);
   3.266 +            this.checkBoxMinimizeToTray.Name = "checkBoxMinimizeToTray";
   3.267 +            this.checkBoxMinimizeToTray.Size = new System.Drawing.Size(133, 17);
   3.268 +            this.checkBoxMinimizeToTray.TabIndex = 15;
   3.269 +            this.checkBoxMinimizeToTray.Text = "Minimize to system tray";
   3.270 +            this.checkBoxMinimizeToTray.UseVisualStyleBackColor = true;
   3.271 +            // 
   3.272              // FormMain
   3.273              // 
   3.274              this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     4.1 --- a/Server/FormMain.cs	Sun Aug 21 18:35:58 2016 +0200
     4.2 +++ b/Server/FormMain.cs	Sun Aug 21 19:31:08 2016 +0200
     4.3 @@ -2576,8 +2576,6 @@
     4.4                  try
     4.5                  {
     4.6                      await ConnectHarmonyAsync();
     4.7 -                    //To make sure harmony commands are showing device name instead of device id
     4.8 -                    PopulateEventsTreeView();
     4.9                  }
    4.10                  finally
    4.11                  {
    4.12 @@ -3041,6 +3039,9 @@
    4.13              PopulateTreeViewHarmony(Program.HarmonyConfig);
    4.14  
    4.15              Console.WriteLine("Harmony: Ready");
    4.16 +
    4.17 +            //Make sure harmony command actions are showing device name instead of device id
    4.18 +            PopulateEventsTreeView();
    4.19          }
    4.20  
    4.21          /// <summary>
     5.1 --- a/Server/Properties/Settings.Designer.cs	Sun Aug 21 18:35:58 2016 +0200
     5.2 +++ b/Server/Properties/Settings.Designer.cs	Sun Aug 21 19:31:08 2016 +0200
     5.3 @@ -164,5 +164,17 @@
     5.4                  this["HarmonyHubAddress"] = value;
     5.5              }
     5.6          }
     5.7 +        
     5.8 +        [global::System.Configuration.UserScopedSettingAttribute()]
     5.9 +        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    5.10 +        [global::System.Configuration.DefaultSettingValueAttribute("")]
    5.11 +        public string LogitechUserName {
    5.12 +            get {
    5.13 +                return ((string)(this["LogitechUserName"]));
    5.14 +            }
    5.15 +            set {
    5.16 +                this["LogitechUserName"] = value;
    5.17 +            }
    5.18 +        }
    5.19      }
    5.20  }
     6.1 --- a/Server/Properties/Settings.settings	Sun Aug 21 18:35:58 2016 +0200
     6.2 +++ b/Server/Properties/Settings.settings	Sun Aug 21 19:31:08 2016 +0200
     6.3 @@ -38,5 +38,8 @@
     6.4      <Setting Name="HarmonyHubAddress" Type="System.String" Scope="User">
     6.5        <Value Profile="(Default)">HarmonyHub</Value>
     6.6      </Setting>
     6.7 +    <Setting Name="LogitechUserName" Type="System.String" Scope="User">
     6.8 +      <Value Profile="(Default)" />
     6.9 +    </Setting>
    6.10    </Settings>
    6.11  </SettingsFile>
    6.12 \ No newline at end of file
     7.1 --- a/Server/SharpDisplayManager.csproj	Sun Aug 21 18:35:58 2016 +0200
     7.2 +++ b/Server/SharpDisplayManager.csproj	Sun Aug 21 19:31:08 2016 +0200
     7.3 @@ -34,7 +34,7 @@
     7.4      <WebPage>index.htm</WebPage>
     7.5      <OpenBrowserOnPublish>false</OpenBrowserOnPublish>
     7.6      <ApplicationRevision>0</ApplicationRevision>
     7.7 -    <ApplicationVersion>0.12.0.0</ApplicationVersion>
     7.8 +    <ApplicationVersion>0.12.2.0</ApplicationVersion>
     7.9      <UseApplicationTrust>false</UseApplicationTrust>
    7.10      <CreateDesktopShortcut>true</CreateDesktopShortcut>
    7.11      <PublishWizardCompleted>true</PublishWizardCompleted>