コード例 #1
0
        private void initEvent()
        {
            this.btnTest.Click += BtnTest_Click;

            this.SoapClient = new TestMSExcelServiceReference.PCWebServiceSoapClient();
            SoapClient.Upload_Open_Save_GetBackCompleted += SoapClient_Upload_Open_Save_GetBackCompleted;
        }
コード例 #2
0
        public FrmConcurrentTest()
        {
            InitializeComponent();
            this.Web = new TestMSExcelServiceReference.PCWebServiceSoapClient();
            this.Web.Endpoint.Address = new System.ServiceModel.EndpointAddress(new Uri("http://192.168.1.215:27891/TestMSExcel/PCWebService.asmx"));

            this.ViewModel   = new FrmConcurrentTestViewModel();
            this.DataContext = this.ViewModel;
            this.initEvent();
        }