public static IntPtr InstallEventHandler(IntPtr target, EventDelegate handler, CarbonEventTypeSpec type) { return(InstallEventHandler(target, handler, new CarbonEventTypeSpec[] { type })); }
public static IntPtr InstallApplicationEventHandler(EventDelegate handler, CarbonEventTypeSpec type) { return(InstallEventHandler(GetApplicationEventTarget(), handler, new CarbonEventTypeSpec[] { type })); }