10 references to GetHelpKeyword
System.Windows.Forms (2)
System\Windows\Forms\Help\HelpProvider.cs (2)
115string? keyword = GetHelpKeyword(ctl); 165e.HelpKeyword = GetHelpKeyword(ctl);
System.Windows.Forms.Tests (8)
System\Windows\Forms\HelpProviderTests.cs (8)
90Assert.Null(provider.GetHelpKeyword(new Control())); 97Assert.Throws<ArgumentNullException>("ctl", () => provider.GetHelpKeyword(null)); 196Assert.Same(keyword, provider.GetHelpKeyword(control)); 204Assert.Same(keyword, provider.GetHelpKeyword(control)); 225Assert.Same(keyword, provider.GetHelpKeyword(control)); 232Assert.Same(keyword, provider.GetHelpKeyword(control)); 263Assert.Same(keyword, provider.GetHelpKeyword(control)); 271Assert.Same(keyword, provider.GetHelpKeyword(control));