Beispiel #1
0
 private void OnRspUserLogin_callback(object sender, ref CWtpRspUserLoginField pRspUserLogin, ref CWtpRspInfoField pRspInfo)
 {
     if (null != OnRspUserLogin)
     {
         try
         {
             OnRspUserLogin(this, new OnRspUserLoginArgs(ref pRspUserLogin, ref pRspInfo));
         }
         catch (System.Exception ex)
         {
             Console.WriteLine("MdApiWrapper::OnRspUserLogin_callback:" + ex.ToString());
         }
     }
 }
Beispiel #2
0
 public OnRspUserLoginArgs(ref CWtpRspUserLoginField pRspUserLogin, ref CWtpRspInfoField pRspInfo)
 {
     this.pRspUserLogin = pRspUserLogin;
     this.pRspInfo      = pRspInfo;
 }