public static uint GetDpiForWindow(IntPtr handle) { return(User32Interop.GetDpiForWindow(handle)); }
public static uint GetDpiForWindow(Form form) { return(User32Interop.GetDpiForWindow(form.Handle)); }