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