public ViewDrawRibbonGroupDialogButton(KryptonRibbon ribbon,
KryptonRibbonGroup ribbonGroup,
NeedPaintHandler needPaint)
{
Debug.Assert(ribbon != null);
Debug.Assert(ribbonGroup != null);
// Remember incoming references
_ribbon = ribbon;
_ribbonGroup = ribbonGroup;
// Attach a controller to this element for the pressing of the button
DialogLauncherButtonController controller = new DialogLauncherButtonController(ribbon, this, needPaint);
controller.Click += new MouseEventHandler(OnClick);
MouseController = controller;
SourceController = controller;
KeyController = controller;
}