Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public EventForm()
        {
            InitializeComponent();
            _accessibleContextPropertyList = new PropertyListView(accessibleContextPropertyList, propertyImageList);
            _oldValuePropertyList          = new PropertyListView(oldValuePropertyList, propertyImageList);
            _newValuePropertyList          = new PropertyListView(newValuePropertyList, propertyImageList);

            //accessibleContextTabPage.Enter += (sender, args) => OnContextNodeSelect();
            //oldValuePage.Enter += (sender, args) => OnOldValueSelect();
            //newValuePage.Enter += (sender, args) => OnNewValueSelect();
        }