ComponentFactory.Krypton.Docking.KryptonDockingFloatspace.OnFloatspacePagesDoubleClicked C# (CSharp) Метод

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

private OnFloatspacePagesDoubleClicked ( object sender, UniqueNamesEventArgs e ) : void
sender object
e UniqueNamesEventArgs
Результат void
        private void OnFloatspacePagesDoubleClicked(object sender, UniqueNamesEventArgs e)
        {
            // If the number of pages to be converted into a separate floating window is less than the
            // total number of visible pages then we allow the change to occur. Otherwise it would cause
            // all pages to be removed into another window which would be pointless.
            if (e.UniqueNames.Length < FloatspaceControl.PageVisibleCount)
            {
                KryptonDockingManager dockingManager = DockingManager;
                if (dockingManager != null)
                    dockingManager.SwitchFloatingToFloatingWindowRequest(e.UniqueNames);
            }
        }