| | |
| | | using System; |
| | | using System.Drawing.Printing; |
| | | using HDL_ON.Entity; |
| | | using HDL_ON.UI.Music; |
| | | using Shared; |
| | | |
| | |
| | | /// </summary> |
| | | public FrameLayout fLayout = new FrameLayout |
| | | { |
| | | Y = Application.GetRealHeight(10), |
| | | BackgroundColor = MusicColor.TopViewColor, |
| | | Height = Application.GetRealHeight(64), |
| | | Width=Application.GetRealWidth(375), |
| | |
| | | { |
| | | Y = Application.GetRealHeight(29), |
| | | X = Application.GetRealWidth(337), |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "MusicIcon/set.png", |
| | | Visible=false, |
| | | }; |
| | |
| | | fLayout.AddChidren(setBtn); |
| | | fLayout.AddChidren(clickBackBtn); |
| | | fLayout.AddChidren(clickSetBtn); |
| | | |
| | | return fLayout; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 最上面的那块方法 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public FrameLayout TopFLayoutView2() |
| | | { |
| | | fLayout.AddChidren(topNameBtn); |
| | | fLayout.AddChidren(backBtn); |
| | | lineBtn.Y = fLayout.Height - 1; |
| | | fLayout.AddChidren(lineBtn); |
| | | fLayout.AddChidren(setBtn); |
| | | fLayout.AddChidren(clickBackBtn); |
| | | fLayout.AddChidren(clickSetBtn); |
| | | |
| | | |
| | | var btnSetting = new Button() |
| | | { |
| | | X = Application.GetRealWidth(337), |
| | | Y = Application.GetRealHeight(28), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "Public/FuncInfoSetIcon.png", |
| | | }; |
| | | fLayout.AddChidren(btnSetting); |
| | | |
| | | btnSetting.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | var infoView = new FunctionBaseInfoSetPage(new Entity.Function() { spk = SPK.LinphoneXiMo }, () => { }); |
| | | MainPage.BasePageView.AddChidren(infoView); |
| | | infoView.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | |
| | | return fLayout; |
| | | } |
| | | #endregion |