public PreferencesDialog(RecentFilesManager recentFilesManager) { _recentFilesManager = recentFilesManager; InitializeComponent(); LoadPreferences(); LoadSearchEngines(); radioSystemProxy.Visible = btnEditSystemProxy.Visible = MonoUtilities.GetPlatform() == MonoUtilities.Platform.Windows; }
public PreferencesDialog(RecentFilesManager recentFilesManager, PreferencesSection section) : this(recentFilesManager) { tabControl1.SelectedIndex = (int) section; }