public wfGoClient(string name, wfGoServer svr, Form1 f) { board = new FightBoard(); player = new FightPlayer(name, this); tcp = new TcpClient(); heart = ConstNumber.heart; frm = f; server = svr; }
private void BtnStart_Click(object sender, EventArgs e) { server = new wfGoServer(this); server.Start(); }