private void InitializeServiceClient()
        {
            //สร้างการเชื่อมต่อระหว่าง Clicent กับ Webservice
            BasicHttpBinding binding = WCFHttpService.CreateBasicHttp();

            _client = WCFHttpService.GetService1Client();
            _client.updateDetail_CountStockCompleted += _client_updateDetail_CountStockCompleted;
        }
Example #2
0
        private void InitializeServiceClient()
        {
            //สร้างการเชื่อมต่อระหว่าง Clicent กับ Webservice
            BasicHttpBinding binding = WCFHttpService.CreateBasicHttp();

            _client = WCFHttpService.GetService1Client();
            _client.selectSpacePartCompleted += _client_selectSpacePartCompleted;
        }