ButtonX, DevComponents.
The ButtonX control is a replacement to the windows forms button control. The control
includes styles as Office 2000, Office 2003, Office 2007, Visual Studio and Windows
XP. The ButtonX control supports Colortables, themes and SplitButton style.
Creating a new DotNetBar ButtonX.
DevComponents.DotNetBar.ButtonX buttonx = new DevComponents.DotNetBar.ButtonX();
buttonx.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005;
buttonx.Text = "OK";
buttonx.Location = new Point(100, 100);
buttonx.Size = new Size(120, 23);
this.Controls.Add(buttonx);
Creating the ButtonX Click Event.
buttonx.Click += new EventHandler(buttonx_Click);
Responding to the ButtonX Click Event.
void buttonx_Click(object sender, EventArgs e)
{
throw new Exception("The method or operation is not implemented.");
}
Screenshots - ButtonX, DevComponents.
|