1 write to _control
System.Windows.Forms.Tests (1)
System\Windows\Forms\AxWebBrowserTests.cs (1)
19
_control
= new AxWebBrowser();
18 references to _control
System.Windows.Forms.Tests (18)
System\Windows\Forms\AxWebBrowserTests.cs (18)
20
((ISupportInitialize)
_control
).BeginInit();
21
_form.Controls.Add(
_control
);
22
((ISupportInitialize)
_control
).EndInit();
28
var properties = TypeDescriptor.GetProperties(
_control
);
29
var events = TypeDescriptor.GetEvents(
_control
);
60
_control
.Invoking(c => c.GoHome()).Should().NotThrow();
66
_control
.Invoking(c => c.GoSearch()).Should().NotThrow();
72
_control
.Invoking(c => c.Navigate(_url.ToString())).Should().NotThrow();
79
_control
.BeforeNavigate2 += (sender, e) => eventRaised = true;
81
_control
.Invoking(c => c.Navigate2(ref _url)).Should().NotThrow();
89
_control
.Invoking(c => c.Stop()).Should().NotThrow();
95
_control
.Invoking(c => c.GetProperty("url")).Should().NotThrow();
101
object prop =
_control
.GetProperty("url");
104
_control
.Invoking(c => c.PutProperty("url", _url)).Should().NotThrow();
106
prop =
_control
.GetProperty("url");
117
_control
.Invoking(c => c.QueryStatusWB(cmdId)).Should().NotThrow();
135
_control
.Invoking(c => c.ExecWB(cmdId, cmdExecOpt)).Should().NotThrow();
140
_control
.Dispose();