Exemplo n.º 1
0
 protected virtual void OnInstantMessageSent(InstantMessageSentEventArgs e)
 {
     if (InstantMessageSent != null)
     {
         InstantMessageSent(this, e);
     }
 }
Exemplo n.º 2
0
 private void ProcessOutgoingIM(InstantMessageSentEventArgs e)
 {
     PrintIM(e.Timestamp, netcom.LoginOptions.FullName, e.Message);
 }
Exemplo n.º 3
0
        private void netcom_InstantMessageSent(object sender, InstantMessageSentEventArgs e)
        {
            if (e.SessionID != sessionID) return;

            textBuffer.Add(e);
            ProcessIM(e);
        }
 protected virtual void OnInstantMessageSent(InstantMessageSentEventArgs e)
 {
     if (InstantMessageSent != null) InstantMessageSent(this, e);
 }
 private void netcom_InstantMessageSent(object sender, InstantMessageSentEventArgs e)
 {
     this.PrintIM(e.Timestamp, netcom.LoginOptions.FullName, e.Message);
 }
Exemplo n.º 6
0
 private void ProcessOutgoingIM(InstantMessageSentEventArgs e)
 {
     PrintIM(DateTime.Now , e.TargetID.ToString(), netcom.LoginOptions.FullName, e.Message, e.SessionID);
 }
Exemplo n.º 7
0
        private void netcom_InstantMessageSent(object sender, InstantMessageSentEventArgs e)
        {
            if (e.SessionID != sessionID) return;

            //textBuffer.Add(e);

            //int lines = textBuffer.Count;
            //int maxlines = this.instance.Config.CurrentConfig.lineMax;

            //if (lines > maxlines && maxlines > 0)
            //{
            //    CheckBufferSize();
            //    return;
            //}

            ProcessIM(e);
        }