lu
2025-04-14 ecb7a60de1639f520712ce95f99414b0dd2c9713
DevApp/Gs.DevApp/UserControl/showZhongTai.cs
@@ -1,14 +1,5 @@
using DevExpress.XtraEditors;
using Gs.DevApp.ToolBox;
using 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();
            };