/// <summary> /// Save text into the Registry. /// </summary> private void SaveSettings() { var settings = new RegSettings(); settings.DifferentMoviesOnDual = chkDifferentMonitorMovies.Checked; settings.UseTimeOfDay = chkUseTimeOfDay.Checked; settings.SaveSettings(); }
/// <summary> /// Save text into the Registry. /// </summary> private void SaveSettings() { var settings = new RegSettings(); settings.DifferentMoviesOnDual = chkDifferentMonitorMovies.Checked; settings.UseTimeOfDay = chkUseTimeOfDay.Checked; settings.SaveSettings(); }
/// <summary> /// Save text into the Registry. /// </summary> private void SaveSettings() { var settings = new RegSettings(); settings.DifferentMoviesOnDual = chkDifferentMonitorMovies.Checked; settings.UseTimeOfDay = chkUseTimeOfDay.Checked; settings.MultiscreenDisabled = chkMultiscreenDisabled.Checked; settings.CacheVideos = chkCacheVideos.Checked; settings.SaveSettings(); }
/// <summary> /// Save text into the Registry. /// </summary> private void SaveSettings() { var settings = new RegSettings(); settings.DifferentMoviesOnDual = chkDifferentMonitorMovies.Checked; settings.UseTimeOfDay = chkUseTimeOfDay.Checked; settings.MultiscreenDisabled = chkMultiscreenDisabled.Checked; settings.CacheVideos = chkCacheVideos.Checked; settings.SaveSettings(); }
/// <summary> /// Save text into the Registry. /// </summary> private void SaveSettings() { var settings = new RegSettings(); settings.DifferentMoviesOnDual = chkDifferentMonitorMovies.Checked; settings.UseTimeOfDay = chkUseTimeOfDay.Checked; settings.MultiscreenDisabled = chkMultiscreenDisabled.Checked; settings.CacheVideos = chkCacheVideos.Checked; string oldCacheDirectory = settings.CacheLocation; settings.CacheLocation = txtCacheFolderPath.Text; settings.SaveSettings(); Caching.UpdateCachePath(oldCacheDirectory, settings.CacheLocation); }
/// <summary> /// Save text into the Registry. /// </summary> private void SaveSettings() { var settings = new RegSettings(); settings.MultiMonitorMode = (RegSettings.MultiMonitorModeEnum)cbMultiScreenMode.SelectedValue; settings.UseTimeOfDay = chkUseTimeOfDay.Checked; settings.CacheVideos = chkCacheVideos.Checked; string oldCacheDirectory = settings.CacheLocation; settings.CacheLocation = txtCacheFolderPath.Text; settings.JsonURL = changeVideoSourceText.Text; settings.ChosenMovies = tvChosen.ConcatChosenEntities(); settings.SaveSettings(); Caching.UpdateCachePath(oldCacheDirectory, settings.CacheLocation); }