예제 #1
0
        void m_TradeCtrl_OnDisconnectEvent(int reasonCode)
        {
            OnRspDisconnectHandler d = new OnRspDisconnectHandler(OnRspTradeDisconnect);

            try
            {
                this.Invoke(d, reasonCode);
            }
            catch (System.Exception)
            {
            }
        }
예제 #2
0
        void m_QuoteCtrl_OnDisconnectEvent(int reasonCode)
        {
            OnRspDisconnectHandler d = new OnRspDisconnectHandler(OnRspQuoteDisconnect);

            try
            {
                this.Invoke(d, reasonCode);
            }
            catch
            {
            }
        }