+ // Setup Widgets to match settings.\r
+ if (Properties.Settings.Default.updateStatus)\r
+ check_updateCheck.CheckState = CheckState.Checked;\r
+\r
+ // On Encode Completeion Action\r
+ drp_completeOption.Text = Properties.Settings.Default.CompletionOption;\r
+\r
+ // Growl.\r
+ if (Properties.Settings.Default.growlEncode)\r
+ check_growlEncode.CheckState = CheckState.Checked;\r
+\r
+ if (Properties.Settings.Default.growlQueue)\r
+ check_GrowlQueue.CheckState = CheckState.Checked;\r
+\r
+ // Enable auto naming feature.\r
+ if (Properties.Settings.Default.autoNaming)\r
+ check_autoNaming.CheckState = CheckState.Checked;\r
+\r
+ // Store the auto name path\r
+ text_an_path.Text = Properties.Settings.Default.autoNamePath;\r
+ if (text_an_path.Text == string.Empty)\r
+ text_an_path.Text = "Click 'Browse' to set the default location";\r
+\r
+ // Store auto name format\r
+ txt_autoNameFormat.Text = Properties.Settings.Default.autoNameFormat;\r
+\r
+ // Use iPod/iTunes friendly .m4v extension for MP4 files.\r
+ if (Properties.Settings.Default.useM4v)\r
+ check_m4v.CheckState = CheckState.Checked;\r
+\r
+ // #############################\r
+ // Picture Tab\r
+ // #############################\r
+\r
+ // VLC Path\r
+ txt_vlcPath.Text = Properties.Settings.Default.VLC_Path;\r
+\r
+ // #############################\r
+ // Audio and Subtitles Tab\r
+ // #############################\r
+\r
+ drop_preferredLang.SelectedItem = Properties.Settings.Default.NativeLanguage;\r
+\r
+ if (Properties.Settings.Default.DubAudio)\r
+ radio_dub.Checked = true;\r
+ else\r
+ radio_foreignAndSubs.Checked = true;\r
+\r
+\r
+ // #############################\r
+ // CLI\r
+ // #############################\r
+\r
+ // Enable Start CLI minimized\r
+ if (Properties.Settings.Default.cli_minimized)\r
+ check_cli_minimized.CheckState = CheckState.Checked;\r
+\r
+ // Number of processor cores\r
+ drp_processors.Text = Properties.Settings.Default.Processors;\r
+\r
+ // Priority level for encodes\r
+ drp_Priority.Text = Properties.Settings.Default.processPriority;\r
+\r
+ // Log Verbosity Level\r
+ cb_logVerboseLvl.SelectedIndex = Properties.Settings.Default.verboseLevel;\r
+\r
+\r
+ // Save logs in the same directory as encoded files\r
+ if (Properties.Settings.Default.saveLogWithVideo)\r
+ check_saveLogWithVideo.CheckState = CheckState.Checked;\r
+\r
+ // Save Logs in a specified path\r
+ if (Properties.Settings.Default.saveLogToSpecifiedPath)\r
+ check_logsInSpecifiedLocation.CheckState = CheckState.Checked;\r
+\r
+ // The saved log path\r
+ text_logPath.Text = Properties.Settings.Default.saveLogPath;\r
+\r
+\r
+ // #############################\r
+ // Advanced\r
+ // #############################\r
+\r
+ // Minimise to Tray\r
+ if (Properties.Settings.Default.trayIconAlerts)\r
+ check_trayStatusAlerts.CheckState = CheckState.Checked;\r
+\r
+ // Tray Balloon popups\r
+ if (Properties.Settings.Default.MainWindowMinimize)\r
+ check_mainMinimize.CheckState = CheckState.Checked;\r
+\r
+ // Enable / Disable Query editor tab\r
+ if (Properties.Settings.Default.QueryEditorTab)\r
+ check_queryEditorTab.CheckState = CheckState.Checked;\r
+\r
+ // Prompt on inconsistant queries\r
+ check_promptOnUnmatchingQueries.Checked = Properties.Settings.Default.PromptOnUnmatchingQueries;\r
+\r
+ // Preset update notification\r
+ if (Properties.Settings.Default.presetNotification)\r
+ check_disablePresetNotification.CheckState = CheckState.Checked;\r
+\r
+ // Experimental In-GUI encode status indicator.\r
+ if (Properties.Settings.Default.enocdeStatusInGui)\r
+ check_inGuiStatus.CheckState = CheckState.Checked;\r
+\r
+ // Days between update checks\r
+ switch (Properties.Settings.Default.daysBetweenUpdateCheck)\r