private bool GetCurrentScreensaverModeStatusFromRegistry() { return(HololensRegKey.IsExists(ScreensaverModeRegkeyName) && ((int)HololensRegKey.GetValue(ScreensaverModeRegkeyName)).ConvertIntToBool()); }
private bool GetCurrentVirtualScreensStatusFromRegistry() { return(HololensRegKey.IsExists(VirtualScreensRegkey) && ((int)HololensRegKey.GetValue(VirtualScreensRegkey)).ConvertIntToBool()); }
private void SetCurrentSleepDelayValue() { _sleepDelayValueLabel.Content = $"{(HololensRegKey.IsExists(SleepDelayRegkeyName) ? TimeConverter.ConvertMillisecondsIntoMinutes((int) HololensRegKey.GetValue(SleepDelayRegkeyName)) : DefaultSleepDelay).ToString()} minutes"; }