示例#1
0
 public void Close()
 {
     if (m_Game != null)
     {
         m_Game.Exit();
     }
     m_CheckForMessages.Stop();
     m_CheckForMessages.Dispose();
     m_ClientForm.Close();
     m_Stream.Close();
     m_Reader.Close();
     m_Writer.Close();
     tcpClient.Close();
     m_UDPClient.Close();
 }
示例#2
0
 private void signInBtn_Click(object sender, EventArgs e)
 {
     new Home().Show();
     UserForm.Close();
     this.Close();
 }