コード例 #1
0
        public ExplorerForm()
        {
            InitializeComponent();
            _handlerFactory = new WindowsHotKeyHandlerFactory(this);
            _userSettings   = UserSettingsProvider.Instance;
            _accessibleComponentPropertyListViewView = new PropertyListView(_accessibleContextPropertyList, _propertyImageList);
            _controller = new ExplorerFormController(this, _userSettings);

            _automaticallyCheckForUpdateSetting       = new BoolUserSetting(_userSettings, "update.autoCheck", true);
            _automaticallyCheckForUpdateSetting.Sync += (sender, args) => {
                updateChecker.Enabled = args.Value;
                automaticallyCheckForUpdatesMenuItem.Checked = args.Value;
            };

            mainToolStrip.Renderer = new OverlayButtonRenderer(this);
            SetDoubleBuffered(_accessibilityTree, true);
            SetDoubleBuffered(_messageList, true);
            SetDoubleBuffered(_accessibleContextPropertyList, true);
            SetDoubleBuffered(_topLevelTabControl, true);
            SetDoubleBuffered(_accessibleComponentTabControl, true);
            SetDoubleBuffered(_bottomTabControl, true);

            //activateOverlayOnTreeSelectionButton_Click(activateOverlayOnTreeSelectionButton, EventArgs.Empty);
            //autoDetectApplicationsMenuItem_CheckChanged(autoDetectApplicationsMenuItem, EventArgs.Empty);
            //automaticallyCheckForUpdatesMenuItem_CheckedChanged(automaticallyCheckForUpdatesMenuItem, EventArgs.Empty);
        }