protected OnKryptonCommandChanged ( |
||
e | An EventArgs containing the event data. | |
Résultat | void |
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;
Values.Image = KryptonCommand.ImageSmall;
}
// Redraw to update the text/extratext/image properties
PerformNeedPaint(true);
}