27 references to GetShowHelp
System.Windows.Forms (2)
System\Windows\Forms\Help\HelpProvider.cs (2)
118
if (!
GetShowHelp
(ctl) || hevent is null)
251
bool showHelp =
GetShowHelp
(ctl);
System.Windows.Forms.Tests (25)
System\Windows\Forms\HelpProviderTests.cs (25)
132
Assert.False(provider.
GetShowHelp
(new Control()));
139
Assert.Throws<ArgumentNullException>("ctl", () => provider.
GetShowHelp
(null));
150
Assert.False(provider.
GetShowHelp
(control));
160
Assert.False(provider.
GetShowHelp
(control));
197
Assert.Equal(!string.IsNullOrEmpty(keyword), provider.
GetShowHelp
(control));
205
Assert.Equal(!string.IsNullOrEmpty(keyword), provider.
GetShowHelp
(control));
226
Assert.True(provider.
GetShowHelp
(control));
233
Assert.True(provider.
GetShowHelp
(control));
264
Assert.Equal(!string.IsNullOrEmpty(keyword), provider.
GetShowHelp
(control));
272
Assert.Equal(!string.IsNullOrEmpty(keyword), provider.
GetShowHelp
(control));
292
Assert.True(provider.
GetShowHelp
(control));
297
Assert.True(provider.
GetShowHelp
(control));
310
Assert.True(provider.
GetShowHelp
(control));
315
Assert.True(provider.
GetShowHelp
(control));
328
Assert.True(provider.
GetShowHelp
(control));
333
Assert.True(provider.
GetShowHelp
(control));
362
Assert.Equal(!string.IsNullOrEmpty(helpString), provider.
GetShowHelp
(control));
368
Assert.Equal(!string.IsNullOrEmpty(helpString), provider.
GetShowHelp
(control));
382
Assert.True(provider.
GetShowHelp
(control));
388
Assert.True(provider.
GetShowHelp
(control));
402
Assert.Equal(!string.IsNullOrEmpty(helpString), provider.
GetShowHelp
(control));
408
Assert.Equal(!string.IsNullOrEmpty(helpString), provider.
GetShowHelp
(control));
427
Assert.Equal(value, provider.
GetShowHelp
(control));
432
Assert.Equal(value, provider.
GetShowHelp
(control));
437
Assert.Equal(!value, provider.
GetShowHelp
(control));