Ejemplo n.º 1
0
 private void frmClient_Load(object sender, EventArgs e)
 {
     tbxUsername.Text = Dns.GetHostName();
     tbxUsername.Text = System.Environment.MachineName;
     _client = new Client();
     _client.OnWriteMessage = this.WriteLog;
     _client.OnUserChanged = this.OnUserChanged;
 }