//This event will hook up the necessary handlers private void Webbrowser_ControlAdded(object sender, ControlEventArgs e) { ActiveXControlHelpers.WireUpHandlers(e.Control, ValidationHandler); }
//Ensures that tabbing across VB6 and .NET controls works as expected private void Webbrowser_LostFocus(object sender, System.EventArgs e) { ActiveXControlHelpers.HandleFocus(this); }