CheckBoxX, DevComponents.
The CheckBoxX control replaces the windows forms CheckBox and RadioButton controls.
Namespace: DevComponents.DotNetBar.Controls
Assembly: DevComponents.DotNetBar2.dll
Using: DevComponents.DotNetBar.Controls;
Declaring: DevComponents.DotNetBar.Controls.CheckBoxX();
Creating the CheckBoxX Control.
DevComponents.DotNetBar.Controls.CheckBoxX checkbox = new DevComponents.DotNetBar.Controls.CheckBoxX();
checkbox.Text = "Selected";
checkbox.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
checkbox.Location = new Point(100, 100);
checkbox.Size = new Size(200, 23);
this.Controls.Add(checkbox);
Creating the CheckChanged event.
checkbox.CheckedChanged += new EventHandler(checkbox_CheckedChanged);
Responding to the CheckChanged event.
void checkbox_CheckedChanged(object sender, EventArgs e)
{
MessageBox.Show("Changed");
}
Screenshots - CheckBoxX, DevComponents.
|