示例#1
0
 public static bool IsEmpty(this ScreenInfo screen) =>
 string.IsNullOrEmpty(screen.Name);
示例#2
0
 public static bool IsPrimary(this ScreenInfo screen)
 {
     return(screen.Flags.HasFlag(MonitorInfoFlag.Primary));
 }