From 72e75456f8b30ec5b6f355539d9c883b0f810d21 Mon Sep 17 00:00:00 2001
From: tangxu <tangxu76880903>
Date: 星期日, 29 十二月 2024 21:37:05 +0800
Subject: [PATCH] 出口图片

---
 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowType.cs |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.cs"
index 11f32dc..bf53d08 100644
--- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.cs"
+++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.cs"
@@ -17,7 +17,9 @@
         public ctrlSetOutflowType()
         {
             InitializeComponent();
-            BuildIcon();
+
+            metroTile鍑哄彛鍥剧墖.BackgroundImage = GlobalResource.BuildImage("Side-exit-straight-line.png", 848, 508);
+            RBtn涓績鍑哄彛.Checked = true;
         }
 
         public bool Verify(out string error)
@@ -50,21 +52,21 @@
         {
             if (type == eOutflowStyle.涓績鍑哄彛_鍨傜洿娉曞叞闈㈡祦鍑� )
             {
+                metroTile鍑哄彛鍥剧墖.BackgroundImage = GlobalResource.BuildImage("Side-exit-straight-line.png", 848, 508);
                 RBtn涓績鍑哄彛.Checked = true;
             }
             else if (type == eOutflowStyle.渚ч潰鍑哄彛_鏇茬嚎杩炴帴 )
             {
+                metroTile鍑哄彛鍥剧墖.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 848, 508);
                 RBtn渚ч潰鍑哄彛鏇茬嚎.Checked = true;
             }
             else
             {
+                metroTile鍑哄彛鍥剧墖.BackgroundImage = GlobalResource.BuildImage("Central-exit.png", 848, 508);
                 RBtn渚ч潰鍑哄彛鐩寸嚎.Checked = true;
             }
         }
-        private void BuildIcon()
-        {
-            metroTile鍑哄彛鍥剧墖.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 848, 508);
-        }
+ 
 
         private void RBtn涓績鍑哄彛_CheckedChanged(object sender)
         {

--
Gitblit v1.9.3