lu
2025-04-14 ecb7a60de1639f520712ce95f99414b0dd2c9713
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
using Gs.DevApp.ToolBox;
using System;
 
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();
        }
    }
}