| | |
| | | var form = new DevicePanel.PanelSimpleEnvironmentButtonSettionForm(); |
| | | form.AddForm(listNewDevice[0]);
|
| | | };
|
| | | }
|
| | |
|
| | | #region ■ 简约环境(面板)_____________________
|
| | |
|
| | | /// <summary>
|
| | | /// 添加【按键设置】行简约环境(面板)
|
| | | /// </summary>
|
| | | private void AddSimplePanelSettionRow()
|
| | | {
|
| | | //按键设置
|
| | | string caption = Language.StringByID(R.MyInternationalizationString.uPanelSettion);
|
| | | var btnFunction = new FrameRowControl(listview.rowSpace / 2);
|
| | | listview.AddChidren(btnFunction);
|
| | | btnFunction.AddLeftCaption(caption, 600);
|
| | | //向右图标
|
| | | btnFunction.AddRightArrow();
|
| | | //底线
|
| | | btnFunction.AddBottomLine();
|
| | | btnFunction.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new DeviceBind.PanelSimpleEnvironmentTargetsForm();
|
| | |
|
| | | };
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
|
| | | } |
| | | |
| | | #endregion
|
| | | #endregion
|
| | |
|
| | | |
| | | #region ■ 按键设置(方悦)_____________________
|
| | |
|
| | | |
| | | /// <summary>
|
| | | /// 添加【按键设置】行(方悦)
|
| | | /// </summary>
|
| | |
| | | }); |
| | | }; |
| | | }; |
| | | }
|
| | | #endregion
|
| | |
|
| | | } |
| | | |
| | | /// <summary> |
| | | /// 温度来源行 |
| | | /// </summary> |