| | |
| | | /// <param name="i_listdevice">面板设备的全部回路</param>
|
| | | public void ShowForm(Panel i_panel)
|
| | | {
|
| | | UserView.HomePage.Instance.ScrollEnabled = false;
|
| | | this.ScrollEnabled = false;
|
| | |
|
| | | this.panelDevice = i_panel;
|
| | |
|
| | |
| | | private uint GetColorByRGB(byte R, byte G, byte B)
|
| | | {
|
| | | return (uint)(0xFF000000 + R * 256 * 256 + G * 256 + B);
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 界面关闭___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 界面关闭
|
| | | /// </summary>
|
| | | public override void CloseFormBefore()
|
| | | {
|
| | | UserView.HomePage.Instance.ScrollEnabled = true;
|
| | |
|
| | | base.CloseFormBefore();
|
| | | }
|
| | |
|
| | | #endregion
|