WingMan

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 24  →  ?path2? @ 25
/trunk/WingMan/WingManForm.cs
@@ -303,6 +303,10 @@
 
private void OnLobbyMessageReceived(object sender, LobbyMessageReceivedEventArgs e)
{
notifyIcon1.BalloonTipTitle = Properties.Strings.Lobby_message;
notifyIcon1.BalloonTipText = $"{e.Nick} : {e.Message}{Environment.NewLine}";
notifyIcon1.ShowBalloonTip(1000);
 
LobbyTextBox.AppendText($"{e.Nick} : {e.Message}{Environment.NewLine}");
}
 
@@ -482,6 +486,10 @@
 
private async void LobbySayTextBoxKeyDown(object sender, KeyEventArgs e)
{
// Do not send messages if the communication is not running.
if (!MqttCommunication.Running)
return;
 
if (e.KeyCode != Keys.Enter)
return;
 
@@ -578,6 +586,10 @@
 
private async void LobbySayButtonClick(object sender, EventArgs e)
{
// Do not send messages if the communication is not running.
if (!MqttCommunication.Running)
return;
 
await LobbyMessageSynchronizer.Broadcast(LobbySayTextBox.Text);
 
LobbySayTextBox.Text = string.Empty;
@@ -688,7 +700,6 @@
if (WindowState == FormWindowState.Minimized)
{
Hide();
notifyIcon1.Visible = true;
}
}
 
@@ -696,7 +707,6 @@
{
Show();
WindowState = FormWindowState.Normal;
notifyIcon1.Visible = false;
}
 
private async void LocalBindingsCheckedListBoxItemCheck(object sender, ItemCheckEventArgs e)