| | |
| | | };
|
| | | }
|
| | |
|
| | | #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
|
| | |
|
| | |
| | | }; |
| | | }; |
| | | }
|
| | | #endregion
|
| | |
|
| | | /// <summary> |
| | | /// 温度来源行 |
| | |
| | | btnNewVersion.Visible = false;
|
| | | btnNewVersion.X = Application.GetRealWidth(242);
|
| | | btnNewVersion.Y = Application.GetRealHeight(23);
|
| | | rowUpDate.AddChidren(btnNewVersion, ChidrenBindMode.BindEventOnly);
|
| | | rowUpDate.AddChidren(btnNewVersion, ChidrenBindMode.BindEvent);
|
| | |
|
| | | rowUpDate.ButtonClickEvent += (sender, e) =>
|
| | | {
|