示例#1
0
        public PreferencesDialog(RecentFilesManager recentFilesManager)
        {
            _recentFilesManager = recentFilesManager;
            InitializeComponent();

            LoadPreferences();

            LoadSearchEngines();

            radioSystemProxy.Visible = btnEditSystemProxy.Visible = MonoUtilities.GetPlatform() == MonoUtilities.Platform.Windows;
        }
示例#2
0
 public PreferencesDialog(RecentFilesManager recentFilesManager, PreferencesSection section)
     : this(recentFilesManager)
 {
     tabControl1.SelectedIndex = (int) section;
 }