浏览文件
IThemeServicer.cs
21 行 · 490 B历史下载| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.Linq; |
| 4 | using System.Text; |
| 5 | using System.Threading.Tasks; |
| 6 | |
| 7 | namespace UI.Servicers |
| 8 | { |
| 9 | public interface IThemeServicer |
| 10 | { |
| 11 | void Init(); |
| 12 | void LoadTheme(string themeName, bool isRefresh = false); |
| 13 | void SetMainWindow(MainWindow mainWindow); |
| 14 | |
| 15 | void UpdateWindowStyle(); |
| 16 | /// <summary> |
| 17 | /// 切换主题时发生 |
| 18 | /// </summary> |
| 19 | event EventHandler OnThemeChanged; |
| 20 | } |
| 21 | } |

