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 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);
        }