JD2022-TU1/main/tools/apps/ResourceViewer/UpdateEventArgs.cs

66 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ResourceViewer;
using System.IO;
namespace ResourceViewer
{
public class DatagridSelectionEventArgs : EventArgs
{
private readonly int _index = -1;
public DatagridSelectionEventArgs(int index)
{
_index = index;
}
public int Index
{
get
{
return _index;
}
}
}
public class UpdateEventArgs : EventArgs
{
public bool Connected
{
get;
private set;
}
public List<ResourceInfo> ResourceInfoList
{
get;
private set;
}
public List<string> ResourceTypeList
{
get;
private set;
}
public UpdateEventArgs(List<ResourceInfo> resList, List<string> resTypeList)
{
ResourceInfoList = resList;
ResourceTypeList = resTypeList;
}
}
public class UpdateDataRootPathEventArgs : EventArgs
{
public string RootPath
{
get;
private set;
}
public UpdateDataRootPathEventArgs(string rootPath)
{
RootPath = rootPath;
}
}
}