public override void UnregisterEvents(IEventHost eventHost) { eventHost.UnregisterEvent (this, ref _scriptEvent, FakeEventName); EventsRegistered = false; }
public override void UnregisterEvents(IEventHost eventHost) { ArgumentUtility.CheckNotNull ("eventHost", eventHost); eventHost.UnregisterEvent (this, ref DragDrop, c_dragDropEventName); eventHost.UnregisterEvent (this, ref DragEnter, c_dragEnterEventName); eventHost.UnregisterEvent (this, ref DragLeave, c_dragLeaveEventName); eventHost.UnregisterEvent (this, ref DragOver, c_dragOverEventName); }