using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SKMC.Api.Client.UI
{
public class StyleManager
{
///
/// 加载全局style配置文件 (可应用于SKMC.Client内的界面组件)
///
///
public static void LoadStyle(string path)
{
ResourceDictionary dict = new ResourceDictionary
{
Source = new Uri(path, UriKind.RelativeOrAbsolute)
};
Application.Current.Resources.MergedDictionaries.Add(dict);
}
}
}