Esempio n. 1
0
        /// <summary>
        /// 处理最新数据的方法
        /// </summary>
        /// <param name="message">数据</param>
        public void OnLatestDataCallBack(CMessage message)
        {
            CMessage copyMessage = new CMessage();

            copyMessage.Copy(message);
            m_window.BeginInvoke(copyMessage);
        }
Esempio n. 2
0
        /// <summary>
        /// 自选股数据回调
        /// </summary>
        /// <param name="message">消息</param>
        private void UserSecurityDataCallBack(CMessage message)
        {
            CMessage copyMessage = new CMessage();

            copyMessage.Copy(message);
            m_window.BeginInvoke(message);
        }