public bool OnClientMouseOver(MouseInfo mouseInfo, ModifierKeys modifiers, nsIDOMNode target) { #if debug OnGeneric("OnClientMouseOver"); Console.Error.WriteLine("OnClientMouseOver"); #endif DOM.DOMObject helper = new DOM.DOMObject(this.owner); INode node = helper.GetTypedNode(target); string key = String.Intern(node.GetHashCode() + ":mouseover"); EventHandler eh1 = (EventHandler)owner.DomEvents[key]; if (eh1 != null) { EventArgs e1 = new EventArgs(); eh1(node, e1); } NodeEventHandler eh = (NodeEventHandler)(owner.Events[WebBrowser.MouseEnterEvent]); if (eh != null) { NodeEventArgs e = new NodeEventArgs(node); eh(node, e); return(true); } return(false); }
public bool OnClientMouseOver (MouseInfo mouseInfo, ModifierKeys modifiers, nsIDOMNode target) { #if debug OnGeneric ("OnClientMouseOver"); Console.Error.WriteLine ("OnClientMouseOver"); #endif DOM.DOMObject helper = new DOM.DOMObject(this.owner); INode node = helper.GetTypedNode (target); string key = String.Intern (node.GetHashCode () + ":mouseover"); EventHandler eh1 = (EventHandler) owner.DomEvents[key]; if (eh1 != null) { EventArgs e1 = new EventArgs (); eh1 (node, e1); } NodeEventHandler eh = (NodeEventHandler) (owner.Events[WebBrowser.MouseEnterEvent]); if (eh != null) { NodeEventArgs e = new NodeEventArgs (node); eh (node, e); return true; } return false; }