Exemplo n.º 1
0
 public static uint GetDpiForWindow(IntPtr handle)
 {
     return(User32Interop.GetDpiForWindow(handle));
 }
Exemplo n.º 2
0
 public static uint GetDpiForWindow(Form form)
 {
     return(User32Interop.GetDpiForWindow(form.Handle));
 }