Zzz – Diff between revs 2 and 5

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 5
Line 4... Line 4...
4 using System.Runtime.InteropServices; 4 using System.Runtime.InteropServices;
5 using System.Threading; 5 using System.Threading;
6 using System.Windows.Forms; 6 using System.Windows.Forms;
7 using InTheHand.Net.Bluetooth; 7 using InTheHand.Net.Bluetooth;
8 using InTheHand.Net.Sockets; 8 using InTheHand.Net.Sockets;
9 using MQTTnet.Client.Subscribing; -  
10 using Serilog; 9 using Serilog;
11 using Zzz.Clients; 10 using Zzz.Clients;
12 using Zzz.Properties; 11 using Zzz.Properties;
13 using Zzz.Utilities; 12 using Zzz.Utilities;
Line 171... Line 170...
171 textBox2.DataBindings.Add(nameof(textBox2.Text), _configuration, nameof(_configuration.MqttUsername), true, DataSourceUpdateMode.OnPropertyChanged); 170 textBox2.DataBindings.Add(nameof(textBox2.Text), _configuration, nameof(_configuration.MqttUsername), true, DataSourceUpdateMode.OnPropertyChanged);
172 textBox3.DataBindings.Add(nameof(textBox3.Text), _configuration, nameof(_configuration.MqttPassword), true, DataSourceUpdateMode.OnPropertyChanged); 171 textBox3.DataBindings.Add(nameof(textBox3.Text), _configuration, nameof(_configuration.MqttPassword), true, DataSourceUpdateMode.OnPropertyChanged);
173 textBox4.DataBindings.Add(nameof(textBox4.Text), _configuration, nameof(_configuration.MqttTopic), true, DataSourceUpdateMode.OnPropertyChanged); 172 textBox4.DataBindings.Add(nameof(textBox4.Text), _configuration, nameof(_configuration.MqttTopic), true, DataSourceUpdateMode.OnPropertyChanged);
174 } 173 }
Line 175... Line 174...
175   174  
176 private void MqttClient_MqttSubscribeSucceeded(object sender, MqttClientSubscribeResultCode e) 175 private void MqttClient_MqttSubscribeSucceeded(object sender, MQTTnet.Client.MqttClientSubscribeResultCode e)
177 { 176 {
178 pictureBox2.BackColor = Color.Green; 177 pictureBox2.BackColor = Color.Green;
Line 179... Line 178...
179 } 178 }
180   179  
181 private void MqttClient_MqttSubscribeFailed(object sender, MqttClientSubscribeResultCode e) 180 private void MqttClient_MqttSubscribeFailed(object sender, MQTTnet.Client.MqttClientSubscribeResultCode e)
182 { 181 {
Line 183... Line 182...
183 pictureBox2.BackColor = Color.Red; 182 pictureBox2.BackColor = Color.Red;