Esempio n. 1
0
 public static ImageSource ToImageSource(this Icon icon) => ExtendedMethods.HBitmapToImageSource(icon.ToBitmap().GetHbitmap());
Esempio n. 2
0
 public static ImageSource ToImageSource(this Bitmap bitmap) => ExtendedMethods.HBitmapToImageSource(bitmap.GetHbitmap());