You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-17 07:36:32 +09:00
Invalid warning message about status fixed
This commit is contained in:
2
Samples/Chat/ChatClient/Form1.Designer.cs
generated
2
Samples/Chat/ChatClient/Form1.Designer.cs
generated
@@ -136,7 +136,7 @@
|
||||
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
public System.Windows.Forms.Button button2;
|
||||
public System.Windows.Forms.RichTextBox richTextBox1;
|
||||
public System.Windows.Forms.TextBox textBox2;
|
||||
public System.Windows.Forms.TextBox textBox3;
|
||||
|
||||
@@ -59,6 +59,10 @@ namespace ChatClient
|
||||
s_form.EnableInput();
|
||||
else
|
||||
s_form.DisableInput();
|
||||
|
||||
if (status == NetConnectionStatus.Disconnected)
|
||||
s_form.button2.Text = "Connect";
|
||||
|
||||
string reason = im.ReadString();
|
||||
Output(status.ToString() + ": " + reason);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user