public view() { InitializeComponent(); connect con = new connect(this); con.send("JOIN#"); con.listen(); }
private void btnUP_Click(object sender, EventArgs e) { connect co = new connect(this); co.send("UP#"); }
private void btnSHOOT_Click(object sender, EventArgs e) { connect co = new connect(this); co.send("SHOOT#"); }