예제 #1
0
            public static bool DocumentationClickOpen(Func <bool> inspectFunction, string toolTip = "", int buttonSize = 20, icon clickIcon = icon.Question)
            {
                if (toolTip.IsNullOrEmpty())
                {
                    toolTip = clickIcon.GetDescription();
                }

                if (DocumentationClickInternal(toolTip, buttonSize))
                {
                    inspectDocumentationDelegate = inspectFunction;
                    InitiatePopUp();
                    return(true);
                }

                return(false);
            }