lu
2025-03-21 2a99e99dc28b76ff41c7c66a0bdb0ea68ae86ee9
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
43
44
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.UserControl
{
    public partial class ShowUp : DevExpress.XtraEditors.XtraForm
    {
 
        /// <summary>
        ///     回调事件
        /// </summary>
        public event EventHandler<UpdateParentEventArgs> UpdateParent;
 
        string parentGuid = "";
        public ShowUp(string _parentGuid)
        {
            InitializeComponent();
            this.parentGuid = _parentGuid;
            this.ucUpFile1.parentGuid = _parentGuid;
            ucUpFile1.UpChanged += UcUpFile1_UpChanged;
        }
 
        /// <summary>
        /// 上传后刷新文件列表
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void UcUpFile1_UpChanged(object sender, EventArgs e)
        {
            UpdateParent?.Invoke(this,
             new UpdateParentEventArgs { FilterList = null});
            Close();
        }
    }
}