()
| 212 | /// ### Checking for changes in application focus |
| 213 | static AppFocus lastFocus = AppFocus.Hidden; |
| 214 | static void CheckFocus() |
| 215 | { |
| 216 | if (lastFocus != SK.AppFocus) |
| 217 | { |
| 218 | lastFocus = SK.AppFocus; |
| 219 | Log.Info($"App focus changed to: {lastFocus}"); |
| 220 | } |
| 221 | } |
| 222 | /// :End: |
| 223 | } |