Exemplo n.º 1
0
 public override void UnregisterEvents(IEventHost eventHost)
 {
     eventHost.UnregisterEvent (this, ref _scriptEvent, FakeEventName);
       EventsRegistered = false;
 }
Exemplo n.º 2
0
 public override void RegisterEvents(IEventHost eventHost)
 {
     eventHost.RegisterEvent (this, ref _scriptEvent, FakeEventName);
       EventsRegistered = true;
 }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
 public abstract void UnregisterEvents(IEventHost eventHost);
 public EventCatcher(IEventHost windowEventHost)
 {
     this.windowEventHost = windowEventHost;
     HookUpEvents();
 }