Esempio 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());
         }
     }
 }
Esempio n. 2
0
 public OnRspErrorArgs(ref CWtpRspInfoField pRspInfo)
 {
     this.pRspInfo = pRspInfo;
 }
Esempio n. 3
0
 public OnRspUserLogoutArgs(ref CWtpUserLogoutField pUserLogout, ref CWtpRspInfoField pRspInfo)
 {
     this.pUserLogout = pUserLogout;
     this.pRspInfo    = pRspInfo;
 }
Esempio n. 4
0
 public OnRspUserLoginArgs(ref CWtpRspUserLoginField pRspUserLogin, ref CWtpRspInfoField pRspInfo)
 {
     this.pRspUserLogin = pRspUserLogin;
     this.pRspInfo      = pRspInfo;
 }