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