public KeyTipControl(KryptonRibbon ribbon,
KeyTipInfoList keyTips,
bool showDisabled)
{
_ribbon = ribbon;
_showDisabled = showDisabled;
// Update form properties so we do not have a border and do not show
// in the task bar. We draw the background in Magenta and set that as
// the transparency key so it is a show through window.
StartPosition = FormStartPosition.Manual;
FormBorderStyle = FormBorderStyle.None;
ShowInTaskbar = false;
TransparencyKey = Color.Magenta;
// Disabled key tips are show semi-transparent
if (_showDisabled)
Opacity = 0.5f;
// Define the initial set of key tips
SetKeyTips(keyTips);
}