Пример #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;
 }