Пример #1
0
 public static uint GetDpiForWindow(IntPtr handle)
 {
     return(User32Interop.GetDpiForWindow(handle));
 }
Пример #2
0
 public static uint GetDpiForWindow(Form form)
 {
     return(User32Interop.GetDpiForWindow(form.Handle));
 }