public void Login() { TEsLoginReqField req = new TEsLoginReqField(); req.LoginType = EsunnyLoginType.Customer; req.LoginNo = this.userID; req.Password = this.password; //EsunnyWrapper.Login(this._instance, req); InvokeAPI(EsunnyWrapperAction.TradeLogin, req); }