protected virtual void OnKryptonCommandChanged(EventArgs e)
{
if (KryptonCommandChanged != null)
KryptonCommandChanged(this, e);
// Use the values from the new command
if (KryptonCommand != null)
Enabled = KryptonCommand.Enabled;
// Redraw to update the text/extratext/image properties
PerformNeedPaint(true);
}