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);
 }
示例#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);
 }