public SetChecked ( bool check, bool notifyListener ) : void | ||
check | bool | |
notifyListener | bool | |
return | void |
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 );
}