18 references to Document
System.Windows.Forms (8)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (7)
263
HtmlDocument? htmlDocument =
Document
;
348
HtmlDocument? htmlDocument =
Document
;
380
HtmlDocument? htmlDocument =
Document
;
404
if (
Document
is null)
422
if (
Document
is null)
522
if (
Document
is null)
546
if (
Document
is null)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserEvent.cs (1)
80
HtmlDocument? htmlDocument = _parent.
Document
;
System.Windows.Forms.Tests (10)
System\Windows\Forms\HtmlDocumentTests.cs (2)
1260
HtmlDocument document = control.
Document
;
2381
return control.
Document
;
System\Windows\Forms\HtmlElementTests.cs (1)
3327
return control.
Document
;
System\Windows\Forms\HtmlWindowTests.cs (1)
101
return control.
Document
;
System\Windows\Forms\WebBrowserTests.cs (6)
430
Assert.Null(control.
Document
);
444
Assert.Null(control.
Document
);
467
HtmlDocument document = control.
Document
;
469
Assert.NotSame(document, control.
Document
);
482
Assert.Throws<ObjectDisposedException>(() => control.
Document
);
494
Assert.Throws<InvalidOperationException>(() => control.
Document
);