private void ChangeReadMode()
        {
            if (isNightMode == MainWindow.UserPrefs.IsReadNightMode)
            {
                return;
            }

            isNightMode = MainWindow.UserPrefs.IsReadNightMode;

            UIUtilities.ChangeReadMode(userControl, MainWindow.UserPrefs.IsReadNightMode);
            if (isNightMode)
            {
                searchBoxBackground.Background = UIUtilities.DarkerGray;
                wordGridBackground.Background  = UIUtilities.MoreDarkerGray;
            }
            else
            {
                searchBoxBackground.Background = UIUtilities.LighterGray;
                wordGridBackground.Background  = UIUtilities.MoreLighterGray;
            }

            if (ocrOneWordView != null)
            {
                ocrOneWordView.ChangeReadMode(MainWindow.UserPrefs.IsReadNightMode);
            }
        }
 private void ChangeReadMode()
 {
     if (isNightMode != MainWindow.UserPrefs.IsReadNightMode)
     {
         isNightMode = MainWindow.UserPrefs.IsReadNightMode;
         UIUtilities.ChangeReadMode(this, isNightMode);
     }
 }
 private void ChangeMainWindowReadMode()
 {
     UIUtilities.ChangeReadMode(hotkeyPopup, UserPrefs.IsReadNightMode);
     if (UserPrefs.IsReadNightMode)
     {
         readModeButtonSymbol.Style = Application.Current.Resources["SunPathIcon"] as Style;
     }
     else
     {
         readModeButtonSymbol.Style = Application.Current.Resources["MoonPathIcon"] as Style;
     }
 }