protected virtual void OnCheckedChanged(EventArgs e) { if (CheckedChanged != null) CheckedChanged(this, e); // If there is a command associated then update with new state if (KryptonCommand != null) KryptonCommand.Checked = Checked; }