System.Windows.Forms.HelpProvider.GetShowHelp(System.Windows.Forms.Control)

Here are the examples of the csharp api class System.Windows.Forms.HelpProvider.GetShowHelp(System.Windows.Forms.Control) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: OpenLiveWriter
Source File: IHelpProviderContext.cs
public static void Bind(HelpProvider localHelpProvider, Control control)
        {
            IHelpProviderContext context = control.FindForm() as IHelpProviderContext;
            if (context != null)
            {
                if (localHelpProvider.GetShowHelp(control))
                {
                    string helpString = localHelpProvider.GetHelpString(control);
                    if (helpString != null)
                    {
                        context.HelpProvider.SetShowHelp(control, true);
                        context.HelpProvider.SetHelpString(control, helpString);
                    }
                }
            }
        }