Axiom.Samples.CheckBox.SetChecked C# (CSharp) Méthode

SetChecked() public méthode

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