From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 27 八月 2024 15:22:48 +0800 Subject: [PATCH] 代码备份 --- OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs | 20 ++++---------------- 1 files changed, 4 insertions(+), 16 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs b/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs index 72e8d06..fbc9ecc 100644 --- a/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs +++ b/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs @@ -193,6 +193,7 @@ UnSelectedImagePath = "Collection/CollectionGrayIcon.png", IsSelected = function.collect }; + bodyDiv.AddChidren(btnCollectionIcon); } @@ -212,7 +213,7 @@ btnName = new Button() { - X = Application.GetRealWidth(8 +10 + 32), + X = Application.GetRealWidth(8 + 10 + 32), Y = Application.GetRealHeight(10), Width = Application.GetRealWidth(200), Height = Application.GetRealHeight(24), @@ -246,21 +247,8 @@ UnSelectedImagePath = "Collection/CollectionGrayIcon.png", IsSelected = function.collect }; - if (!function.isOnline()) - { - bodyDiv.BackgroundColor = CSS_Color.PromptingColor2; - btnOffline = new Button() - { - X = Application.GetRealWidth(8 + 10 + 32), - Y = Application.GetRealHeight(28 + 24), - Height = Application.GetRealHeight(30), - TextID = StringId.DeviceOffline, - TextColor = CSS_Color.WarningColor, - TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - TextAlignment = TextAlignment.CenterLeft - }; - bodyDiv.AddChidren(btnOffline); - } + bodyDiv.AddChidren(btnCollectionIcon); + } /// <summary> -- Gitblit v1.8.0