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
{
///
/// 回调事件
///
public event EventHandler UpdateParent;
string parentGuid = "";
public ShowUp(string _parentGuid)
{
InitializeComponent();
this.parentGuid = _parentGuid;
this.ucUpFile1.parentGuid = _parentGuid;
ucUpFile1.UpChanged += UcUpFile1_UpChanged;
}
///
/// 上传后刷新文件列表
///
///
///
private void UcUpFile1_UpChanged(object sender, EventArgs e)
{
UpdateParent?.Invoke(this,
new UpdateParentEventArgs { FilterList = null});
Close();
}
}
}