From b084bd77d01a94c8f0a2d20c86a1f45ba7c8a23c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 19 四月 2025 14:08:05 +0800
Subject: [PATCH] 页面跳转

---
 DevApp/Gs.DevApp/UserControl/showZhongTai.cs |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/showZhongTai.cs b/DevApp/Gs.DevApp/UserControl/showZhongTai.cs
index ad49ad5..dcaa462 100644
--- a/DevApp/Gs.DevApp/UserControl/showZhongTai.cs
+++ b/DevApp/Gs.DevApp/UserControl/showZhongTai.cs
@@ -1,14 +1,5 @@
-锘縰sing DevExpress.XtraEditors;
-using Gs.DevApp.ToolBox;
+锘縰sing Gs.DevApp.ToolBox;
 using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
 
 namespace Gs.DevApp.UserControl
 {
@@ -19,12 +10,12 @@
             InitializeComponent();
             btnSave.Click += (s, e) =>
             {
-                string str = comZt.SelectedText.Trim();
-                if (str.Length == 0)
+                if (comZt.SelectedIndex <= 0)
                 {
                     Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鐘舵�侊紒");
                     return;
                 }
+                string str = comZt.Text.Trim();
                 UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = str });
                 Close();
             };

--
Gitblit v1.9.3