예제 #1
0
 public virtual void OnAcceptConnectSuccess(ConnectSuccessEventArgs e)
 {
     if (AcceptConnectSuccess != null)
     {
         AcceptConnectSuccess(this, e);
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: JackG55/CHU_KY_SO
        private void AcceptConnectSuccess(object sender, ConnectSuccessEventArgs e)
        {
            Action <string> DelegateTeste_ModifyText = THREAD_MOD;

            this.messagebox.Invoke(DelegateTeste_ModifyText, e.IP.ToString() + " has connected");
            ClientManager clm = e.clientManager;

            clm.Authorize();
        }