WingMan
/trunk/WingMan/Properties/Strings.Designer.cs |
@@ -241,15 +241,6 @@ |
} |
|
/// <summary> |
/// Looks up a localized string similar to Lobby message. |
/// </summary> |
internal static string Lobby_message { |
get { |
return ResourceManager.GetString("Lobby_message", resourceCulture); |
} |
} |
|
/// <summary> |
/// Looks up a localized string similar to Matched remote key binding. |
/// </summary> |
internal static string Matched_remote_key_binding { |
/trunk/WingMan/Properties/Strings.resx |
@@ -177,9 +177,6 @@ |
<data name="Failed_to_authenticate_with_server" xml:space="preserve"> |
<value>Failed to authenticate with server</value> |
</data> |
<data name="Lobby_message" xml:space="preserve"> |
<value>Lobby message</value> |
</data> |
<data name="Matched_remote_key_binding" xml:space="preserve"> |
<value>Matched remote key binding</value> |
</data> |
/trunk/WingMan/WingManForm.cs |
@@ -303,10 +303,6 @@ |
|
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}"); |
} |
|
@@ -486,10 +482,6 @@ |
|
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; |
|
@@ -586,10 +578,6 @@ |
|
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; |
@@ -700,6 +688,7 @@ |
if (WindowState == FormWindowState.Minimized) |
{ |
Hide(); |
notifyIcon1.Visible = true; |
} |
} |
|
@@ -707,6 +696,7 @@ |
{ |
Show(); |
WindowState = FormWindowState.Normal; |
notifyIcon1.Visible = false; |
} |
|
private async void LocalBindingsCheckedListBoxItemCheck(object sender, ItemCheckEventArgs e) |