ComponentFactory.Krypton.Docking.KryptonDockingManager.OnDropDownNavigatorClicked C# (CSharp) Метод

OnDropDownNavigatorClicked() приватный Метод

private OnDropDownNavigatorClicked ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        private void OnDropDownNavigatorClicked(object sender, EventArgs e)
        {
            KryptonContextMenuItem workspaceItem = (KryptonContextMenuItem)sender;
            string uniqueName = (string)workspaceItem.Tag;

            // Action depends on the current location
            switch (FindPageLocation(uniqueName))
            {
                case DockingLocation.None:
                case DockingLocation.AutoHidden:
                case DockingLocation.Floating:
                case DockingLocation.Docked:
                case DockingLocation.Workspace:
                    MakeNavigatorRequest(uniqueName);
                    break;
                case DockingLocation.Navigator:
                    // Nothing to do, already workspace tabbed
                    break;
            }
        }
KryptonDockingManager