Пример #1
0
 public virtual void OnAcceptConnectSuccess(ConnectSuccessEventArgs e)
 {
     if (AcceptConnectSuccess != null)
     {
         AcceptConnectSuccess(this, e);
     }
 }
Пример #2
0
        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();
        }