From 8619db2091fae70ee445029303ebabfaf6c16e88 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 15 四月 2025 14:39:14 +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