public void SetChecked( bool check, bool notifyListener ) { if ( check ) this.x.Show(); else this.x.Hide(); if ( listener != null && notifyListener ) listener.CheckboxToggled( this ); OnCheckChanged( this, this ); }