Exemplo n.º 1
0
        private void SetActiveTab(int num)
        {
            activeSource = _sources[num];
            activeSource.TabSelected();

            mainTabControl.InitFocusManager(true);
            mainTabControl.AddFocusableControls(tabs.GetAccessibleControls());
            mainTabControl.AddFocusableControls(activeSource.GetAccessibleControls());
            mainTabControl.AddFocusableControl(copyrightLinkLabel);
            mainTabControl.AddFocusableControl(buttonInsert);
            mainTabControl.AddFocusableControl(btnCancel);
        }
        private void SetActiveTab(int num)
        {
            activeSource = _sources[num];
            activeSource.TabSelected();

            mainTabControl.InitFocusManager(true);
            mainTabControl.AddFocusableControls(tabs.GetAccessibleControls());
            mainTabControl.AddFocusableControls(activeSource.GetAccessibleControls());
            mainTabControl.AddFocusableControl(copyrightLinkLabel);
            mainTabControl.AddFocusableControl(buttonInsert);
            mainTabControl.AddFocusableControl(btnCancel);
        }