feat: pre job: change events to routed events.

This commit is contained in:
rabbitism
2024-02-04 02:07:45 +08:00
parent 0f97da7ce8
commit ed21ee8189
10 changed files with 148 additions and 33 deletions

View File

@@ -1,12 +1,19 @@
using Avalonia.Interactivity;
namespace Ursa.Controls;
public class DialogLayerChangeEventArgs
public class DialogLayerChangeEventArgs: RoutedEventArgs
{
public DialogLayerChangeType ChangeType { get; }
public DialogLayerChangeEventArgs(DialogLayerChangeType type)
{
ChangeType = type;
}
public DialogLayerChangeEventArgs(RoutedEvent routedEvent, DialogLayerChangeType type): base(routedEvent)
{
ChangeType = type;
}
}
public enum DialogLayerChangeType