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