| | |
| | | /// <param name="btnHigherCollection">上一级界面的收藏控件(原来on的框架太坑)</param>
|
| | | /// <param name="btnHigherDeviceName">上一级界面的设备名字控件(原来on的框架太坑)</param>
|
| | | private void AddTopSettingIcon(Button btnHigherDeviceName, Button btnHigherRoom)
|
| | | {
|
| | | //设置图标(门锁界面需要借用这个图标的X轴和Y轴,所以加进来)
|
| | | var btnSetting = new PicViewControl(28, 28);
|
| | | btnSetting.X = Application.GetRealWidth(337);
|
| | | btnSetting.Y = Application.GetRealHeight(9);
|
| | | btnSetting.UnSelectedImagePath = "Public/FuncInfoSetIcon.png";
|
| | | { |
| | | //设置图标(门锁界面需要借用这个图标的X轴和Y轴,所以加进来) |
| | | var btnSetting = new Button() |
| | | { |
| | | X = Application.GetRealWidth(337),
|
| | | Y = Application.GetRealHeight(19),
|
| | | Width = Application.GetMinRealAverage(32),
|
| | | Height = Application.GetMinRealAverage(32),
|
| | | UnSelectedImagePath = "Public/FuncInfoSetIcon.png", |
| | | };
|
| | | //var btnSetting = new PicViewControl(28, 28);
|
| | | //btnSetting.X = Application.GetRealWidth(337);
|
| | | //btnSetting.Y = Application.GetRealHeight(9);
|
| | | //btnSetting.UnSelectedImagePath = "Public/FuncInfoSetIcon.png";
|
| | | btnSetting.Name = "btnSetting";
|
| | | topFrameLayout.AddChidren(btnSetting);
|
| | |
|
| | |
| | | btnSetting.Visible = false;
|
| | | }
|
| | |
|
| | | btnSetting.ButtonClickEvent += (sender, e) =>
|
| | | btnSetting.MouseUpEventHandler += (sender, e) =>
|
| | | {
|
| | | var infoView = new UI.FunctionBaseInfoSetPage(this.device, () =>
|
| | | {
|