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(); 28var properties = TypeDescriptor.GetProperties(_control); 29var 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(); 101object prop = _control.GetProperty("url"); 104_control.Invoking(c => c.PutProperty("url", _url)).Should().NotThrow(); 106prop = _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();