| | |
| | | /// <summary>
|
| | | /// 关于的画面
|
| | | /// </summary>
|
| | | public class AbountForm : UserCenterCommonForm
|
| | | public class AbountForm : EditorCommonForm
|
| | | {
|
| | | #region **变量*****************************
|
| | | /// <summary>
|
| | |
| | | /// <summary>
|
| | | /// Closes the form.
|
| | | /// </summary>
|
| | | public override void CloseForm(bool isCloseForm = true)
|
| | | public override void CloseForm()
|
| | | {
|
| | | #if Android
|
| | | if(isUpdating==true)
|
| | |
| | | updateBtn.Visible = true;
|
| | | SetDownLoadBtnNoVisible();
|
| | | CommonPage.CancelDownLoadApkAsync();
|
| | | base.CloseForm(isCloseForm);
|
| | | base.CloseForm();
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | else
|
| | | {
|
| | | Phone.UserView.HomePage.Instance.ScrollEnabled = true;
|
| | | base.CloseForm(isCloseForm);
|
| | | base.CloseForm();
|
| | | }
|
| | | #elif iOS
|
| | | base.CloseForm(isCloseForm);
|
| | | base.CloseForm();
|
| | | #endif
|
| | | }
|
| | | /// <summary> |
| | |
| | | CommonPage.Instance.ShowErrorInfoAlert(R.MyInternationalizationString.UpdateAppFail);
|
| | | return;
|
| | | }
|
| | | if (versionResult.FirmwareVersion != CommonPage.CodeIDString)
|
| | | if (int.Parse(versionResult.FirmwareVersion.Replace(".","")) > int.Parse(CommonPage.CodeIDString.Replace(".","")))
|
| | | {
|
| | | var alert = new Alert(Language.StringByID(R.MyInternationalizationString.UpdateContent), versionResult.Remarks, Language.StringByID(R.MyInternationalizationString.Cancel), Language.StringByID(R.MyInternationalizationString.Confrim));
|
| | | alert.Show();
|