| | |
| | | /// <summary>
|
| | | /// 主菜单背景框
|
| | | /// </summary>
|
| | | private FrameLayout frameMainMenuBack = null;
|
| | | private NormalFrameLayout frameMainMenuBack = null;
|
| | | /// <summary>
|
| | | /// 其他菜单的容器控件
|
| | | /// </summary>
|
| | |
| | | /// </summary>
|
| | | public void ShowForm()
|
| | | {
|
| | | this.FormID = "UserMainForm";
|
| | |
|
| | | //特殊处理:恢复可关闭进度条,别问为什么,我也不知道为什么,以防万一而已
|
| | | ProgressBar.SetCloseBarFlag(false);
|
| | | //初始化框架
|
| | | this.InitForm();
|
| | | //初始化头部控件
|
| | | this.InitTopFrameLayout();
|
| | | //初始化中部控件
|
| | | this.InitBodyFrameLayout();
|
| | | //移除返回键
|
| | | base.RemoveBackButton();
|
| | |
|
| | |
| | | this.ClearBodyFrame();
|
| | |
|
| | | //个人中心
|
| | | var btnTitle = new NormalViewControl(350, 100, true);
|
| | | var btnTitle = new NormalViewControl(450, 100, true);
|
| | | btnTitle.X = ControlCommonResourse.XXLeft;
|
| | | btnTitle.Y = Application.GetRealHeight(112);
|
| | | btnTitle.TextColor = UserCenterColor.Current.White;
|
| | |
| | | else
|
| | | {
|
| | | //背景框
|
| | | frameMainMenuBack = new FrameLayout();
|
| | | frameMainMenuBack = new NormalFrameLayout();
|
| | | frameMainMenuBack.Y = Application.GetRealHeight(288);
|
| | | frameMainMenuBack.Gravity = Gravity.CenterHorizontal;
|
| | | frameMainMenuBack.Height = Application.GetRealHeight(371);
|
| | |
| | | frame.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //住宅接口不需要特殊的登陆Token
|
| | | var form = new Residence.ResidenceListForm();
|
| | | var form = new Residence.ResidenceListMainForm();
|
| | | form.AddForm();
|
| | | };
|
| | | }
|