endConnection() 공개 메소드

public endConnection ( ) : void
리턴 void
예제 #1
0
 private void btnClose_Click(object sender, EventArgs e)
 {
     if (!Client.endConnection())
     {
         MessageBox.Show("关闭失败!!");
     }
     else
     {
         MessageBox.Show("连接成功关闭!!");
         this.btnClose.Enabled = false;
         this.btnBegin.Enabled = true;
     }
 }