| | |
| | | {
|
| | | instance = this;
|
| | | }
|
| | | /// <summary> |
| | | /// 画面显示(底层会固定调用此方法,借以完成画面创建) |
| | | /// </summary> |
| | | public void ShowForm() |
| | | { |
| | | //设置标题信息 |
| | | base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uVersionInformation)); |
| | | //初始化中部控件 |
| | | this.InitMiddleFrame(); |
| | | } |
| | | /// <summary>
|
| | | /// 画面显示(底层会固定调用此方法,借以完成画面创建)
|
| | | /// </summary>
|
| | | public void ShowForm()
|
| | | {
|
| | | //设置标题信息
|
| | | base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uVersionInformation));
|
| | | //初始化中部控件
|
| | | this.InitMiddleFrame();
|
| | | }
|
| | | /// <summary>
|
| | | /// Closes the form.
|
| | | /// </summary>
|
| | | public override void CloseForm()
|
| | | public override void CloseFormBefore()
|
| | | {
|
| | | #if Android
|
| | | if(isUpdating==true)
|
| | |
| | | updateBtn.Visible = true;
|
| | | SetDownLoadBtnNoVisible();
|
| | | CommonPage.CancelDownLoadApkAsync();
|
| | | base.CloseForm();
|
| | | base.CloseFormBefore();
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | else
|
| | | {
|
| | | Phone.UserView.HomePage.Instance.ScrollEnabled = true;
|
| | | base.CloseForm();
|
| | | base.CloseFormBefore();
|
| | | }
|
| | | #elif iOS
|
| | | base.CloseForm();
|
| | | base.CloseFormBefore();
|
| | | #endif
|
| | | }
|
| | | /// <summary> |
| | | /// 初始化中部控件 |
| | | /// </summary> |
| | | private void InitMiddleFrame() |
| | | /// <summary>
|
| | | /// 初始化中部控件
|
| | | /// </summary>
|
| | | private void InitMiddleFrame()
|
| | | {
|
| | | var logoBtn = new Button()
|
| | | {
|