public static DomUIEventArgs Create(nsIDOMUIEvent ev) { if (ev is nsIDOMMouseEvent) { return(DomMouseEventArgs.Create((nsIDOMMouseEvent)ev)); } return(new DomUIEventArgs(ev)); }
public static DomUIEventArgs Create(nsIDOMUIEvent ev) { if (ev is nsIDOMMouseEvent) { return(DomMouseEventArgs.Create((nsIDOMMouseEvent)ev)); } #if PORTFF60 else if (ev is nsIDOMKeyEvent) { return(DomKeyEventArgs.Create((nsIDOMKeyEvent)ev)); } #endif return(new DomUIEventArgs(ev)); }