public override void RegisterEvents(IEventHost eventHost)
 {
     eventHost.RegisterEvent (this, ref _scriptEvent, FakeEventName);
       EventsRegistered = true;
 }
        public override void RegisterEvents(IEventHost eventHost)
        {
            ArgumentUtility.CheckNotNull ("eventHost", eventHost);

              eventHost.RegisterEvent (this, ref DragDrop, c_dragDropEventName);
              eventHost.RegisterEvent (this, ref DragEnter, c_dragEnterEventName);
              eventHost.RegisterEvent (this, ref DragLeave, c_dragLeaveEventName);
              eventHost.RegisterEvent (this, ref DragOver, c_dragOverEventName);
        }