public NewClientEventArgs(MyTCPClient myClt) { this.client = myClt; }
public void btnStart_Click() { client = new MyTCPClient("127.0.0.1", 9999); client.ReciveEvent += ShowReciveMsg; client.ConnectServer(); }