Exemplo n.º 1
0
 private void OnRspError_callback(object sender, ref CWtpRspInfoField pRspInfo)
 {
     if (null != OnRspError)
     {
         try
         {
             OnRspError(this, new OnRspErrorArgs(ref pRspInfo));
         }
         catch (System.Exception ex)
         {
             Console.WriteLine("MdApiWrapper::OnRspError_callback:" + ex.ToString());
         }
     }
 }
Exemplo n.º 2
0
 public OnRspErrorArgs(ref CWtpRspInfoField pRspInfo)
 {
     this.pRspInfo = pRspInfo;
 }
Exemplo n.º 3
0
 public OnRspUserLogoutArgs(ref CWtpUserLogoutField pUserLogout, ref CWtpRspInfoField pRspInfo)
 {
     this.pUserLogout = pUserLogout;
     this.pRspInfo    = pRspInfo;
 }
Exemplo n.º 4
0
 public OnRspUserLoginArgs(ref CWtpRspUserLoginField pRspUserLogin, ref CWtpRspInfoField pRspInfo)
 {
     this.pRspUserLogin = pRspUserLogin;
     this.pRspInfo      = pRspInfo;
 }