void AutoDownloadSettings() { DownloadHelper download= new DownloadHelper(); download.Downloadhandle = DownSettingDoneDlg; download.CallingActivity = this; download.startDownloadCompInfo(); }
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(); }
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(); }
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 (); }
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(); }
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(); }
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(); }
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); }
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; } }
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; } }
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); }
// 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); }