Zzz
/Zzz/SettingsForm.cs |
@@ -6,7 +6,6 @@ |
using System.Windows.Forms; |
using InTheHand.Net.Bluetooth; |
using InTheHand.Net.Sockets; |
using MQTTnet.Client.Subscribing; |
using Serilog; |
using Zzz.Clients; |
using Zzz.Properties; |
@@ -173,12 +172,12 @@ |
textBox4.DataBindings.Add(nameof(textBox4.Text), _configuration, nameof(_configuration.MqttTopic), true, DataSourceUpdateMode.OnPropertyChanged); |
} |
|
private void MqttClient_MqttSubscribeSucceeded(object sender, MqttClientSubscribeResultCode e) |
private void MqttClient_MqttSubscribeSucceeded(object sender, MQTTnet.Client.MqttClientSubscribeResultCode e) |
{ |
pictureBox2.BackColor = Color.Green; |
} |
|
private void MqttClient_MqttSubscribeFailed(object sender, MqttClientSubscribeResultCode e) |
private void MqttClient_MqttSubscribeFailed(object sender, MQTTnet.Client.MqttClientSubscribeResultCode e) |
{ |
pictureBox2.BackColor = Color.Red; |
} |