| | |
| | | |
| | | #region ---数据接收--- |
| | | //if (MainPage.LoginUser.AccountType == 2 || MainPage.LoginUser.AccountString == @"464027401@qq.com") { |
| | | // var DataReceptionView = new FrameLayout () { |
| | | // Width = Application.GetRealWidth (640), |
| | | // Height = Application.GetRealHeight (100), |
| | | // BackgroundColor = SkinStyle.Current.ViewColor |
| | | // }; |
| | | // UserMiddle.SettingView.AddChidren (DataReceptionView); |
| | | // var btnDataReceptionIcon = new Button () { |
| | | // X = Application.GetRealWidth (30), |
| | | // Gravity = Gravity.CenterVertical, |
| | | // Width = Application.GetRealWidth (75), |
| | | // Height = Application.GetRealHeight (75), |
| | | // UnSelectedImagePath = "AccountSettings/DataShared.png" |
| | | // }; |
| | | // DataReceptionView.AddChidren (btnDataReceptionIcon); |
| | | // var btnDataReceptionTitle = new Button () { |
| | | // X = Application.GetRealWidth (125), |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextID = R.MyInternationalizationString.DataReception, |
| | | // TextColor = SkinStyle.Current.TextColor1, |
| | | // }; |
| | | // DataReceptionView.AddChidren (btnDataReceptionTitle); |
| | | // EventHandler<MouseEventArgs> DataReceptionEventHandler = (sender, e) => { |
| | | // GoData (); |
| | | // }; |
| | | // DataReceptionView.MouseUpEventHandler += DataReceptionEventHandler; |
| | | // btnDataReceptionIcon.MouseUpEventHandler += DataReceptionEventHandler; |
| | | // btnDataReceptionTitle.MouseUpEventHandler += DataReceptionEventHandler; |
| | | // Button btnNull3 = new Button () { |
| | | // BackgroundColor = SkinStyle.Current.MainColor, |
| | | // Height = Application.GetRealHeight (5) |
| | | // }; |
| | | // UserMiddle.SettingView.AddChidren (btnNull3); |
| | | //} |
| | | if (true) { |
| | | var DataReceptionView = new FrameLayout () { |
| | | Width = Application.GetRealWidth (640), |
| | | Height = Application.GetRealHeight (100), |
| | | BackgroundColor = SkinStyle.Current.ViewColor |
| | | }; |
| | | UserMiddle.SettingView.AddChidren (DataReceptionView); |
| | | var btnDataReceptionIcon = new Button () { |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth (75), |
| | | Height = Application.GetRealHeight (75), |
| | | UnSelectedImagePath = "AccountSettings/DataShared.png" |
| | | }; |
| | | DataReceptionView.AddChidren (btnDataReceptionIcon); |
| | | var btnDataReceptionTitle = new Button () { |
| | | X = Application.GetRealWidth (125), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID = R.MyInternationalizationString.DataReception, |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | }; |
| | | DataReceptionView.AddChidren (btnDataReceptionTitle); |
| | | EventHandler<MouseEventArgs> DataReceptionEventHandler = (sender, e) => { |
| | | GoData (); |
| | | }; |
| | | DataReceptionView.MouseUpEventHandler += DataReceptionEventHandler; |
| | | btnDataReceptionIcon.MouseUpEventHandler += DataReceptionEventHandler; |
| | | btnDataReceptionTitle.MouseUpEventHandler += DataReceptionEventHandler; |
| | | Button btnNull3 = new Button () { |
| | | BackgroundColor = SkinStyle.Current.MainColor, |
| | | Height = Application.GetRealHeight (5) |
| | | }; |
| | | UserMiddle.SettingView.AddChidren (btnNull3); |
| | | } |
| | | #endregion |
| | | |
| | | |