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