protected void proOpt(string strCommand, string strKeyID) { #region GETMARK if (strCommand == "GETMARK") { string strCurrTelNo = FindViewById<EditText>(Resource.Id.LoginPass_USERTEL).Text; if (strCurrTelNo == "" || strCurrTelNo.Length != 11) { funAlert("��������Ч���ֻ��ţ�"); return; } PUB.PUB.getCurrMibioMark(strCurrTelNo); FindViewById<Button>(Resource.Id.LoginPass_GETTELMARK).Enabled = false; funAlert("��֤�����ѷ�������ע����գ�"); } #endregion #region SUBMIT if (strCommand == "SUBMIT") { string strCurrTelNo = FindViewById<EditText>(Resource.Id.LoginPass_USERTEL).Text; string strCurrTelMark = FindViewById<EditText>(Resource.Id.LoginPass_USERTELMARK).Text; string strUserPassOld = FindViewById<EditText>(Resource.Id.LoginPass_USERPASSWORD).Text; string strUserPassConfirm = FindViewById<EditText>(Resource.Id.LoginPass_USERPASSCONFRM).Text; string strUserPass = CHE9000WAP.PUB.COMMON.MD5Encrypt(strUserPassOld); if (strCurrTelNo == "" || strCurrTelNo.Length != 11) { funAlert("��������Ч���ֻ��ţ�"); return; } if (strUserPassConfirm == "" || strUserPassConfirm != strUserPassOld) { funAlert("���������벢����ȷ�����룡"); return; } string strCheckMark = PUB.PUB.getCurrMibioMark(strCurrTelNo, strCurrTelMark); if (strCheckMark != "") { funAlert(strCheckMark); FindViewById<Button>(Resource.Id.LoginPass_GETTELMARK).Enabled = true; return; } PUB.PUBWeb TT = new PUB.PUBWeb(); SortedList SDList = new SortedList(); SDList["@USERTEL"] = strCurrTelNo; SDList["@USERPASS"] = strUserPass; string strBack = TT.WebDBExec("PRO_SYS_USERCHANGEPASS", SDList); if (strBack != "") { funAlert(strBack); } else { funAlert("���³ɹ�", 1); } } #endregion #region FINISH if (strCommand == "FINISH") { Finish(); } #endregion }
protected void proOpt(string strCommand, string strKeyID) { #region SKIP if (strCommand == "SKIP") { string strUserType = PUB.PUBLogin.getUSERTYPE(); Intent intent = new Intent(); if (strUserType == "0") { intent.SetClass(this, typeof(MainClient)); } if (strUserType == "1") { intent.SetClass(this, typeof(MainServe)); } StartActivity(intent); Finish(); } #endregion #region SUBMIT if (strCommand == "SUBMIT") { int ddlIndex = FindViewById<Spinner>(Resource.Id.LoginRegBank_BANKLIST).SelectedItemPosition; string[] DDLSOURCE = PUB.PUB.getBankList(); SortedList SDList = new SortedList(); SDList["@USERID"] = PUB.PUBLogin.getUSERID(); SDList["@USERBANK"] = DDLSOURCE[ddlIndex]; SDList["@USERBANKNO"] = FindViewById<EditText>(Resource.Id.LoginRegBank_USERBANKNO).Text; PUB.PUBWeb TT = new PUB.PUBWeb(); string strBack = TT.WebDBExec("PRO_SYS_USERREGBANK",SDList); funAlert(strBack); } #endregion #region FINISH if (strCommand == "FINISH") { Finish(); } #endregion }