啊鑫
6 天以前 650fe9e42e3de66be29769da72cc755273246dd9
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
using System;
using System.Collections.Generic;
using Gs.DevApp.ToolBox;
 
namespace Gs.DevApp.DevFrm.JJGZ
{
    public partial class SetLB : DevExpress.XtraEditors.XtraForm
    {
        string _webServiceName = "MesAttanCon/";
        public SetLB()
        {
            InitializeComponent();
        }
 
        /// <summary>
        ///     选择后的回调事件
        /// </summary>
        public event EventHandler<UpdateParentEventArgs> UpdateParent;
 
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            var list = new List<string>();
            
            list.Add(textEdit1.EditValue?.ToString() ?? "");
            
            UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringList = list }); Close();
        }
    }
}