Exemple #1
0
 public void startUpload()
 {
     invcount = 0;
     _errmsg  = "";
     _client  = _wfc.GetServiceClient();
     _client.UploadOutletBillsCompleted += ClientOnUploadOutletBillsCompleted;
     UploadBillsToServer();
 }
Exemple #2
0
 public void startUpload()
 {
     invcount = 0;
     _errmsg  = "";
     _client  = _wfc.GetServiceClient();
     if (_client != null)
     {
         _client.UpdateLocationCompleted += ClientOnUploadLocationCompleted;
         UploadlocsToServer();
     }
 }
Exemple #3
0
        public void startDownloadItem()
        {
            string comp   = ((GlobalvarsApp)CallingActivity.Application).COMPANY_CODE;
            string brn    = ((GlobalvarsApp)CallingActivity.Application).BRANCH_CODE;
            string userid = ((GlobalvarsApp)CallingActivity.Application).USERID_CODE;

            _client = _wfc.GetServiceClient();
            if (_client != null)
            {
                _client.GetItemCodesNewCompleted += ClientOnGetItemCompleted;
                _client.GetItemCodesNewAsync(comp, brn, userid);
            }
        }
Exemple #4
0
        private void CheckSystemUpdate()
        {
            WCFHelper wcf = new WCFHelper();

            try{
                Service1Client client = wcf.GetServiceClient();
                client.GetVersionCompleted += Client_GetVersionCompleted;
                client.GetVersionAsync();
            }catch {
            }
        }
Exemple #5
0
 public void startUpload()
 {
     invcount = 0;
     _errmsg  = "";
     InitVar();
     _client = _wfc.GetServiceClient();
     if (_client != null)
     {
         GetAllBills();
         _client.UploadOutletBillsCompleted += ClientOnUploadOutletBillsCompleted;
         UploadBillsToServer();
     }
 }
Exemple #6
0
 private void CheckSystemUpdate()
 {
     WCFHelper wcf = new WCFHelper ();
     try{
         Service1Client client = wcf.GetServiceClient ();
         client.GetVersionCompleted+= Client_GetVersionCompleted;
         client.GetVersionAsync ();
     }catch {
     }
 }