Framework changed to WPF

Only the basic window frame is implemented.
Adjusted the structure of resource files.
This commit is contained in:
2022-09-29 21:56:43 +08:00
parent 346a68ddb4
commit a055dc5299
128 changed files with 48325 additions and 63581 deletions

View File

@@ -0,0 +1,11 @@
using System;
using GrasscutterTools.Events;
namespace GrasscutterTools.Interfaces
{
public interface IPageCommand
{
event EventHandler<CommandGeneratedEventArgs> CommandGenerated;
}
}

View File

@@ -0,0 +1,31 @@
using GrasscutterTools.Models;
namespace GrasscutterTools.Interfaces
{
/// <summary>
/// 带列表的页面接口
/// </summary>
public interface IPageListProvider
{
/// <summary>
/// 列表项选中时触发
/// </summary>
/// <param name="item">列表项</param>
void OnListItemSelected(GameItem item);
/// <summary>
/// 列表源
/// </summary>
GameItems ListSource { get; }
/// <summary>
/// 是否可以分组
/// </summary>
bool CanGroup { get; }
/// <summary>
/// 类别
/// </summary>
string[] Categories { get; }
}
}