예제 #1
0
        public void Execute(ImySqlRequest req, mySqlEndResponseDelegate callbackHandler, Control ctrl)
        {
            this.FormsControl   = ctrl;
            this.CallbackMethod = callbackHandler;
            this.mRequest       = (XmlRpcMySqlRequest)req;
            SqlProxy proxy = XmlRpcProxyGen.Create <SqlProxy>();

            proxy.Url = this.EndpointUri;
            proxy.BeginExecute(this.mRequest.Request, new AsyncCallback(this.ExecuteResponse), null);
        }
 public void Execute(ImySqlRequest req, mySqlEndResponseDelegate callbackHandler, Control ctrl)
 {
     this.FormsControl = ctrl;
     this.CallbackMethod = callbackHandler;
     this.mRequest = (XmlRpcMySqlRequest) req;
     SqlProxy proxy = XmlRpcProxyGen.Create<SqlProxy>();
     proxy.Url = this.EndpointUri;
     proxy.BeginExecute(this.mRequest.Request, new AsyncCallback(this.ExecuteResponse), null);
 }