lu
2025-05-05 f5b68343056a31c0d221e6aa0d671a9f8ef798cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using DevExpress.XtraEditors;
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.DevFrm.WOM
{
    public partial class ShowJieAn : DevExpress.XtraEditors.XtraForm
    {
        public ShowJieAn()
        {
            InitializeComponent();
            btnSave.Click += (s, e) =>
            {
                if (comZt.SelectedIndex <= 0)
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择结案类型!");
                    return;
                }
                string str = comZt.Text.Trim();
                UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = str });
                Close();
            };
            btnCancel.Click += (s, e) =>
            {
                this.Close();
            };
        }
 
        /// <summary>
        ///     选择后的回调事件
        /// </summary>
        public event EventHandler<UpdateParentEventArgs> UpdateParent;
    }
}