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