Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="m"></param>
        public override void LogMessage(UserMessage m)
        {
            lock (m_lock)
            {
                m_list.Add(m);
            }

            if (MessageAdded != null)
            {
                MessageAddedArgs args = new MessageAddedArgs(m);
                MessageAdded(this, args);
            }
        }
Example #2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="m"></param>
        public override void LogMessage(UserMessage m)
        {
            lock (m_lock)
            {
                m_list.Add(m);
            }

            if (MessageAdded != null)
            {
                MessageAddedArgs args = new MessageAddedArgs(m);
                MessageAdded(this, args);
            }
        }