| | |
| | | Button btnUserIcon = new Button () { |
| | | X = Application.GetRealWidth (27), |
| | | Width = Application.GetRealWidth (96), |
| | | Height = Application.GetRealHeight (96), |
| | | Height = Application.GetRealWidth (96), |
| | | Gravity = Gravity.CenterVertical, |
| | | Radius = 5, |
| | | BorderColor = SkinStyle.Current.Transparent, |
| | |
| | | Button btnTopUserMsgRight = new Button () { |
| | | X = Application.GetRealWidth (570), |
| | | Width = Application.GetRealWidth (28), |
| | | Height = Application.GetRealHeight (40), |
| | | Height = Application.GetRealWidth (40), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Item/Right.png", |
| | | SelectedImagePath = "Item/RightSelected.png", |
| | |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth (75), |
| | | Height = Application.GetRealHeight (75), |
| | | Height = Application.GetRealWidth (75), |
| | | UnSelectedImagePath = "AccountSettings/DeviceManagement.png", |
| | | IsSelected = false |
| | | }; |
| | |
| | | EventHandler<MouseEventArgs> SystemEventHandler = (sender, e) => { |
| | | var hl = new GuideAddResidence (); |
| | | UserMiddle.SettingPageView.AddChidren (hl); |
| | | hl.ShowHomeList (); |
| | | hl.ShowHomeView (); |
| | | UserMiddle.SettingPageView.PageIndex = UserMiddle.SettingPageView.ChildrenCount - 1; |
| | | |
| | | //HomeListView hl = new HomeListView (); |
| | |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth (75), |
| | | Height = Application.GetRealHeight (75), |
| | | Height = Application.GetRealWidth (75), |
| | | UnSelectedImagePath = "AccountSettings/Backup.png" |
| | | }; |
| | | BackupView.AddChidren (btnBackupIcon); |
| | |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth (75), |
| | | Height = Application.GetRealHeight (75), |
| | | Height = Application.GetRealWidth (75), |
| | | UnSelectedImagePath = "CrabtreeAdd/Schedule.png", |
| | | }; |
| | | ScheduleView.AddChidren (btnScheduleIcon); |
| | |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth (75), |
| | | Height = Application.GetRealHeight (75), |
| | | Height = Application.GetRealWidth (75), |
| | | UnSelectedImagePath = "CrabtreeAdd/Alexa.png", |
| | | }; |
| | | AlexaView.AddChidren (btnAlexaIcon); |
| | |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth (75), |
| | | Height = Application.GetRealHeight (75), |
| | | Height = Application.GetRealWidth (75), |
| | | UnSelectedImagePath = "CrabtreeAdd/SubaccountIcon.png", |
| | | }; |
| | | subaccountView.AddChidren (btnSubaccountIcon); |
| | |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth (75), |
| | | Height = Application.GetRealHeight (75), |
| | | Height = Application.GetRealWidth (75), |
| | | UnSelectedImagePath = "CrabtreeAdd/Help.png", |
| | | SelectedImagePath = "CrabtreeAdd/HelpOn.png" |
| | | }; |