private void fmTcpClientThread_FormClosed(object sender, FormClosedEventArgs e)
 {
     timer.Dispose();
     ct.StopConnect();
 }
示例#2
0
 private void OnApplicationQuit()
 {
     ct.StopConnect();
 }
示例#3
0
 private void OnApplicationQuit() //Sent to all game objects before the application is quit.
 {
     ct.StopConnect();            //Close Socket
 }
示例#4
0
 private void OnApplicationQuit()
 {
     ct.Send("bye");
     ct.StopConnect();
 }