Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                ServiceReference1.StockServiceDelegateClient client = new ServiceReference1.StockServiceDelegateClient();

                XStockDataCollectorTest.ServiceReference1.sinaDailyStockData data = client.getData("399001", "sz");

                MessageBox.Show("OK");
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Exemplo n.º 2
0
 public getDataResponse(XStockDataCollectorTest.ServiceReference1.sinaDailyStockData @return)
 {
     this.@return = @return;
 }