private void toolStripButton2_Click(object sender, EventArgs e) { TCPServer.Stop(); UDPMainServer.Stop(); UDPRedirectorServer.Stop(); toolStripButton1.Enabled = true; toolStripButton2.Enabled = false; }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { TCPServer.Stop(); UDPMainServer.Stop(); UDPRedirectorServer.Stop(); }