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