コード例 #1
0
 public override void ClientSide(System.Windows.Forms.FormCollection OpenWindows, Common.Delegates.CreateClientWindow CreateWindow, Common.Connections.Connection ThisConnection)
 {
     //THIS DOESNT NEED TO DO ANYTHING CLIENT SIDE BECAUSE IT EXECUTES A SERIES OF PRIVATE MESSAGES FOR EACH MESSAGE FOUND IN THE DATABASE
 }
コード例 #2
0
        public override void ClientSide(System.Windows.Forms.FormCollection OpenWindows, Common.Delegates.CreateClientWindow CreateWindow, Connection ThisConnection)
        {
            Form NewWindow = null;

            CreateWindow("", this.ConversationID, ref NewWindow, WindowType.Conversation);
        }
コード例 #3
0
 public override void ClientSide(System.Windows.Forms.FormCollection OpenWindows, Common.Delegates.CreateClientWindow CreateWindow, Connection ThisConnection)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
 public override void ClientSide(System.Windows.Forms.FormCollection OpenWindows, Common.Delegates.CreateClientWindow CreateWindow, Connection ThisConnection)
 {
     //IF WE GET BACK A SUCCESS WE STORE THIS CONNECTION AS AUTHENTICATED
     if (this.Success)
     {
         ThisConnection.UserID        = this.UserID;
         ThisConnection.DisplayName   = this.DisplayName;
         ThisConnection.Authenticated = true;
         new Message_StatusUpdate()
         {
             Online = true, UserID = this.UserID, Status = "Active"
         }.Send(ThisConnection);
     }
     else
     {
         MessageBox.Show("Authentication Failed!");
         ThisConnection.TcpConnection.Close();
     }
 }