fixes & version bump

This commit is contained in:
2024-06-10 13:15:24 +02:00
parent df8266fc40
commit e212f4021a
11 changed files with 29 additions and 16 deletions

View File

@@ -1,10 +1,8 @@
using System.Drawing;
namespace Pilz.UI;
namespace Pilz.UI;
public static class Extensions
{
public static Image? ToIcon(this Image image)
public static Icon? ToIcon(this Image image)
{
if (image is Bitmap bmp)
return Icon.FromHandle(bmp.GetHicon());