Esempio n. 1
0
 // MSDN says overriden.
 //
 protected override void OnSetCursor()
 {
     if (this.Control != null)
     {
         IToolboxService tbService = GetService(typeof(IToolboxService)) as IToolboxService;
         if (tbService != null)
         {
             tbService.SetCursor();
         }
         else
         {
             base.OnSetCursor();
         }
     }
 }