ui: migrate client back to WinForms
-> let's use wine for comatibility again -> easier to maintain -> easier to build dynamic options with
This commit is contained in:
17
ModpackUpdater.Apps/AppSymbolFactory.cs
Normal file
17
ModpackUpdater.Apps/AppSymbolFactory.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Pilz.UI.WinForms.Telerik.Symbols;
|
||||
using System.Reflection;
|
||||
|
||||
namespace ModpackUpdater.Apps.Manager;
|
||||
|
||||
internal class AppSymbolFactory : RadSymbolFactory<AppSymbols>
|
||||
{
|
||||
public override Assembly GetImageResourceAssembly()
|
||||
{
|
||||
return typeof(AppSymbols).Assembly;
|
||||
}
|
||||
|
||||
public override string GetImageRessourcePath(AppSymbols svgImage)
|
||||
{
|
||||
return $"{typeof(AppSymbols).Namespace}.Symbols.{svgImage}.svg";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user