public TapAPITradeLoginRspInfo(TapAPITradeLoginRspInfo other) : this(TapTradePINVOKE.new_TapAPITradeLoginRspInfo__SWIG_1(TapAPITradeLoginRspInfo.getCPtr(other)), true) { if (TapTradePINVOKE.SWIGPendingException.Pending) { throw TapTradePINVOKE.SWIGPendingException.Retrieve(); } }
void OnRspTradeLogin(int errorCode, TapTradeAPI.TapAPITradeLoginRspInfo loginRspInfo) { if (errorCode != 0) { MessageBox.Show("登陆交易失败,错误码:" + errorCode); IsTradeLogin = false; } else { IsTradeLogin = true; } }
void m_TradeCtrl_OnRspLoginEvent(int errorCode, TapTradeAPI.TapAPITradeLoginRspInfo loginRspInfo) { OnRspTradeLoginHandler d = new OnRspTradeLoginHandler(OnRspTradeLogin); try { this.Invoke(d, errorCode, loginRspInfo); } catch (System.Exception) { } }
public virtual void OnRspLogin(int errorCode, TapAPITradeLoginRspInfo loginRspInfo) { TapTradePINVOKE.ITapTradeAPINotify_OnRspLogin(swigCPtr, errorCode, TapAPITradeLoginRspInfo.getCPtr(loginRspInfo)); }
internal static HandleRef getCPtr(TapAPITradeLoginRspInfo obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }