Example #1
0
 static void OnScreenMetricsChanged(ScreenMetricsChangedEventArgs e)
 {
     if (!currentMetrics.Equals(e.Metrics))
     {
         SetCurrent(e.Metrics);
         ScreenMetricsChangedInternal?.Invoke(null, e);
     }
 }
Example #2
0
 static void OnScreenMetricsChanged(ScreenMetricsChangedEventArgs e)
 => ScreenMetricsChangedInternal?.Invoke(null, e);