| | |
| | | topFrameLayout.AddTag("btnBack", btnBack); |
| | | |
| | | //标题 |
| | | var txttitle = new TopLayoutTitleControl(); |
| | | topFrameLayout.AddChidren(txttitle); |
| | | //粗体 |
| | | var txttitle = new Button();
|
| | | txttitle.Name = "txtTitle"; |
| | | txttitle.TextSize = 17; |
| | | txttitle.X = Application.GetRealWidth(161); |
| | | txttitle.Height = Application.GetRealHeight(69); |
| | | txttitle.Width = Application.GetRealWidth(850); |
| | | txttitle.Gravity = Gravity.CenterVertical; |
| | | txttitle.TextColor = UserCenterColor.Current.TopLayoutTitleText;
|
| | | txttitle.TextAlignment = TextAlignment.CenterLeft;
|
| | | txttitle.IsBold = true; |
| | | topFrameLayout.AddChidren(txttitle); |
| | | |
| | | topFrameLayout.AddTag("txtTitle", txttitle); |
| | | } |
| | |
|
| | |
| | | /// <param name="parameter">启动参数:参数由指定画面的ShowForm函数所指定</param>
|
| | | public override void AddForm(params object[] parameter)
|
| | | {
|
| | | base.AddForm(parameter);
|
| | |
|
| | | //检测能否追加画面 |
| | | if (UserCenterLogic.CheckCanAddForm(this) == false) |
| | | { |
| | |
| | | /// </summary> |
| | | public override void CloseFormBefore() |
| | | {
|
| | | base.CloseFormBefore();
|
| | |
|
| | | //左滑使能
|
| | | this.ScrollEnabled = true;
|
| | |
|
| | | this.m_parameter = null;
|
| | | //清空bodyFrame |
| | | this.ClearBodyFrame();
|
| | | |
| | | base.CloseFormBefore(); |
| | | this.ClearBodyFrame(); |
| | | } |
| | |
|
| | | #endregion |