首次上传
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Windows;
|
||||
|
||||
namespace MECF.Framework.UI.Client.Core;
|
||||
|
||||
public enum CommonAggregateEvents
|
||||
{
|
||||
EnterReadOnlyMode
|
||||
}
|
||||
|
||||
public sealed class Helper
|
||||
{
|
||||
public static T FindSkinResource<T>(string name, T fallbackBrush)
|
||||
{
|
||||
var brush = Application.Current.TryFindResource(name);
|
||||
if (brush is T b)
|
||||
return b;
|
||||
return fallbackBrush;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user