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