Process mouse events for the outlook mini button.
Inheritance: ComponentFactory.Krypton.Toolkit.GlobalId, IMouseController, IKeyController
 /// <summary>
 /// Create a mouse controller appropriate for operating this button.
 /// </summary>
 /// <returns>Reference to IMouseController interface.</returns>
 protected override IMouseController CreateMouseController()
 {
     _controller = new OutlookMiniController(this, new NeedPaintHandler(OnNeedPaint));
     _controller.Click += new EventHandler(OnMiniClick);
     return _controller;
 }
 /// <summary>
 /// Create a mouse controller appropriate for operating this button.
 /// </summary>
 /// <returns>Reference to IMouseController interface.</returns>
 protected override IMouseController CreateMouseController()
 {
     _controller        = new OutlookMiniController(this, OnNeedPaint);
     _controller.Click += OnMiniClick;
     return(_controller);
 }
Exemple #3
0
 /// <summary>
 /// Create a mouse controller appropriate for operating this button.
 /// </summary>
 /// <returns>Reference to IMouseController interface.</returns>
 protected override IMouseController CreateMouseController()
 {
     _controller        = new OutlookMiniController(this, new NeedPaintHandler(OnNeedPaint));
     _controller.Click += new EventHandler(OnMiniClick);
     return(_controller);
 }