1 write to _control
System.Windows.Forms.Tests (1)
System\Windows\Forms\AxWebBrowserTests.cs (1)
21
_control
= new AxWebBrowser();
18 references to _control
System.Windows.Forms.Tests (18)
System\Windows\Forms\AxWebBrowserTests.cs (18)
22
((ISupportInitialize)
_control
).BeginInit();
23
_form.Controls.Add(
_control
);
24
((ISupportInitialize)
_control
).EndInit();
30
var properties = TypeDescriptor.GetProperties(
_control
);
31
var events = TypeDescriptor.GetEvents(
_control
);
62
_control
.Invoking(c => c.GoHome()).Should().NotThrow();
68
_control
.Invoking(c => c.GoSearch()).Should().NotThrow();
74
_control
.Invoking(c => c.Navigate(_url.ToString())).Should().NotThrow();
81
_control
.BeforeNavigate2 += (sender, e) => eventRaised = true;
83
_control
.Invoking(c => c.Navigate2(ref _url)).Should().NotThrow();
91
_control
.Invoking(c => c.Stop()).Should().NotThrow();
97
_control
.Invoking(c => c.GetProperty("url")).Should().NotThrow();
103
object prop =
_control
.GetProperty("url");
106
_control
.Invoking(c => c.PutProperty("url", _url)).Should().NotThrow();
108
prop =
_control
.GetProperty("url");
119
_control
.Invoking(c => c.QueryStatusWB(cmdId)).Should().NotThrow();
137
_control
.Invoking(c => c.ExecWB(cmdId, cmdExecOpt)).Should().NotThrow();
142
_control
.Dispose();