| | |
| | | }; |
| | | this.midFrameLayout.AddChidren(bottomFrameLayout); |
| | | |
| | | Button btnChooseKeyMode = new Button() |
| | | var btnChooseKeyMode = new Button() |
| | | { |
| | | Width = Application.GetRealWidth(907), |
| | | Gravity = Gravity.CenterHorizontal, |
| | |
| | | |
| | | btnChooseKeyMode.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | this.RemoveFromParent(); |
| | | |
| | | var chooseKeyModePage = new Shared.Phone.UserCenter.DeviceBind.ChooseKeyModePage(currentKey, curDeviceBindType, targetList); |
| | | Shared.Phone.UserView.HomePage.Instance.AddChidren(chooseKeyModePage); |
| | | Shared.Phone.UserView.HomePage.Instance.PageIndex += 1; |
| | |
| | | }; |
| | | chooseKeyModePage.action += action; |
| | | } |
| | | |
| | | this.RemoveFromParent(); |
| | | }; |
| | | #endregion |
| | | } |