internal AbstractSortedSingleObjectContainer(HandleWrapperClass handleObject, IntPtr nativeHandle, FromNativePointerDelegate fromNativePointerDelegate, bool cacheObjects) { _handleWrapper = handleObject; _nativeHandle = nativeHandle; _fromNativePointerDelegate = fromNativePointerDelegate; _defaultNativeNotifySingleObjectDelegate = DefaultNotifySingleObjectHandler; this.RegisterNotifyDelegate(); _cache = cacheObjects; }
protected override void RegisterNotifyDelegate() { NativeMethods.mta_notify_systemsetup(base.NativeHandle, base.DefaultNativeNotifyMultiObjectDelegate); _pfSystemSetupPictureNotifier = NotifySystemSetupPicture; NativeMethods.mta_notify_systemsetuppicture(base.NativeHandle, _pfSystemSetupPictureNotifier); }