5 references to InvokeScript
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
567public object? InvokeScript(string scriptName) => InvokeScript(scriptName, null);
System.Windows.Forms.Tests (4)
System\Windows\Forms\HtmlDocumentTests.cs (4)
1865Assert.Equal("NoParameter1", document.InvokeScript("divide", null)); 1866Assert.Equal("NoParameter1", document.InvokeScript("divide", Array.Empty<object>())); 1885Assert.Null(document.InvokeScript("NoSuchScript", null)); 1886Assert.Null(document.InvokeScript("NoSuchScript", Array.Empty<object>()));