Preview

image

  • AutoCheck function
  • Scalable check boxes

Usage

// create CheckBox control
CheckBox myCheckBox = new CheckBox(new Rectangle(50, 50, 0, 0), "CheckBox Text");

// set some properties
myCheckBox.AutoCheck = false;
myCheckBox.TextColor = Color.Red;

// do something when CheckBox's state changed
myCheckBox.OnChanged += (sender) => { /* do some actions */ };

// add control to a Window
myWindow.Controls.Add(myCheckBox);

Last edited Apr 4, 2012 at 1:11 AM by qisur, version 5

Comments

No comments yet.