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