コード例 #1
0
ファイル: UploadActivity.cs プロジェクト: mokth/merpV3
 void AutoDownloadSettings()
 {
     DownloadHelper download= new DownloadHelper();
     download.Downloadhandle = DownSettingDoneDlg;
     download.CallingActivity = this;
     download.startDownloadCompInfo();
 }
コード例 #2
0
ファイル: DownloadActivity.cs プロジェクト: mokth/merpV3
 void ButdownSetting_Click(object sender, EventArgs e)
 {
     Button butDown =  FindViewById<Button> (Resource.Id.butDownSetting);
     butDown.Enabled = false;
     DownloadHelper download= new DownloadHelper();
     download.Downloadhandle = DownSettingDoneDlg;
     download.CallingActivity = this;
     download.startDownloadCompInfo();
 }
コード例 #3
0
ファイル: DownloadActivity.cs プロジェクト: mokth/merpV3
 void ButdownPrice_Click(object sender, EventArgs e)
 {
     Button butDown =  FindViewById<Button> (Resource.Id.butDownPrice);
     butDown.Enabled = false;
     DownloadHelper download= new DownloadHelper();
     download.Downloadhandle = DownItemPricesDoneDlg;
     download.CallingActivity = this;
     download.NotDownloadAll ();
     download.startDownloadItemPrices();
 }
コード例 #4
0
ファイル: DownloadActivity.cs プロジェクト: mokth/merpV3
 void butDownloadCusts(object sender,EventArgs e)
 {
     Button butDown =  FindViewById<Button> (Resource.Id.butDownCust);
     butDown.Enabled = false;
     DownloadHelper download= new DownloadHelper();
     download.Downloadhandle =  DownCustDoneDlg;
     download.CallingActivity = this;
     download.NotDownloadAll ();
     download.startDownloadCustomer ();
 }
コード例 #5
0
ファイル: DownloadActivity.cs プロジェクト: mokth/merpV3
        void ButdownSetting_Click(object sender, EventArgs e)
        {
            Button butDown = FindViewById <Button> (Resource.Id.butDownSetting);

            butDown.Enabled = false;
            DownloadHelper download = new DownloadHelper();

            download.Downloadhandle  = DownSettingDoneDlg;
            download.CallingActivity = this;
            download.startDownloadCompInfo();
        }
コード例 #6
0
ファイル: DownloadActivity.cs プロジェクト: mokth/merpV3
        void ButdownStock_Click(object sender, EventArgs e)
        {
            Button butDown = FindViewById <Button> (Resource.Id.butDownStock);

            butDown.Enabled = false;
            DownloadHelper download = new DownloadHelper();

            download.Downloadhandle  = DownItemsDoneDlg;
            download.CallingActivity = this;
            download.NotDownloadAll();
            download.startDownloadItemGR();
        }
コード例 #7
0
ファイル: DownloadActivity.cs プロジェクト: mokth/merpV3
        void butDownloadCusts(object sender, EventArgs e)
        {
            Button butDown = FindViewById <Button> (Resource.Id.butDownCust);

            butDown.Enabled = false;
            DownloadHelper download = new DownloadHelper();

            download.Downloadhandle  = DownCustDoneDlg;
            download.CallingActivity = this;
            download.NotDownloadAll();
            download.startDownloadCustomer();
        }
コード例 #8
0
        private void LoginIntoCloud()
        {
            EditText userid = FindViewById <EditText> (Resource.Id.login_userName);
            EditText passw  = FindViewById <EditText> (Resource.Id.login_password);
            EditText code   = FindViewById <EditText> (Resource.Id.login_code);
            Button   login  = FindViewById <Button>(Resource.Id.login);

            login.Enabled = false;
            login.Text    = Resources.GetString(Resource.String.msg_plswait);          // "Please wait...";
            //_client.LoginAsync (userid.Text, passw.Text, code.Text);
            DownloadHelper download = new DownloadHelper();

            download.Downloadhandle    = LoginDoneDlg;
            download.DownloadAllhandle = LoginDoneDlgEx;
            download.CallingActivity   = this;
            download.startLogin(userid.Text, passw.Text, code.Text);
        }
コード例 #9
0
ファイル: LoginActivity.cs プロジェクト: mokth/merpCS
 public void PerformEvent(object sender, EventParam e)
 {
     switch (e.EventID) {
     case EventID.LOGIN_DOWNCOMPLETE:
         string comp =((GlobalvarsApp)this.Application).COMPANY_CODE;
         string bran = ((GlobalvarsApp)this.Application).BRANCH_CODE;
         ShowMainActivity (comp,bran);
         break;
     case EventID.LOGIN_SUCCESS:
         if (!_donwloadPro) {
             DownloadHelper download = new DownloadHelper ();
             download.Downloadhandle = LoginDoneDlg;
             download.DownloadAllhandle = LoginDoneDlgEx;
             download.CallingActivity = this;
             download.StartDownloadAll ();
             _donwloadPro = true;
         }
         break;
     }
 }
コード例 #10
0
        public void PerformEvent(object sender, EventParam e)
        {
            switch (e.EventID)
            {
            case EventID.LOGIN_DOWNCOMPLETE:
                string comp = ((GlobalvarsApp)this.Application).COMPANY_CODE;
                string bran = ((GlobalvarsApp)this.Application).BRANCH_CODE;
                ShowMainActivity(comp, bran);
                break;

            case EventID.LOGIN_SUCCESS:
                if (!_donwloadPro)
                {
                    DownloadHelper download = new DownloadHelper();
                    download.Downloadhandle    = LoginDoneDlg;
                    download.DownloadAllhandle = LoginDoneDlgEx;
                    download.CallingActivity   = this;
                    download.StartDownloadAll();
                    _donwloadPro = true;
                }
                break;
            }
        }
コード例 #11
0
ファイル: LoginActivity.cs プロジェクト: mokth/merpCS
 private void LoginIntoCloud()
 {
     EditText userid = FindViewById<EditText> (Resource.Id.login_userName);
     EditText passw = FindViewById<EditText> (Resource.Id.login_password);
     EditText code = FindViewById<EditText> (Resource.Id.login_code);
     Button login = FindViewById<Button>(Resource.Id.login);
     login.Enabled = false;
     login.Text = "Please wait...";
     //_client.LoginAsync (userid.Text, passw.Text, code.Text);
     _donwloadPro = false;
     DownloadHelper download= new DownloadHelper();
     download.Downloadhandle = LoginDoneDlg;
     download.DownloadAllhandle =LoginDoneDlgEx;
     download.CallingActivity = this;
     download.startLogin(userid.Text, passw.Text, code.Text);
 }
コード例 #12
0
ファイル: MainActivity.cs プロジェクト: mokth/merpCS
 //        void butDownloadCusts(object sender,EventArgs e)
 //        {
 //            Button butDown =  FindViewById<Button> (Resource.Id.butDownCust);
 //            butDown.Enabled = false;
 //            DownloadHelper download= new DownloadHelper();
 //            download.Downloadhandle =  DownCustDoneDlg;
 //            download.CallingActivity = this;
 //            download.startDownloadCustomer ();
 //        }
 private void DownloadCompInfo()
 {
     DownloadHelper download= new DownloadHelper();
     download.Downloadhandle = OnDownProfileDoneDlg;
     download.CallingActivity = this;
     download.startDownloadCompInfo(false);
 }