private void Form1_Load(object sender, EventArgs e)
//instatiate the button using Bunifu.UI.WinForms.BunifuButton
BunifuButton2 button = new BunifuButton2();
//set text for the button
button.Text = "Button variant";
button.IdleFillColor = Color.DodgerBlue;
//set the location of the button
button.Location = new Point(260, 148);
/*Allow auto-generation of colors for the button's hover
*and pressed states based on the idle fill color
button.AutoGenerateColors = true;
// set smooth transition between the button states
button.AllowAnimations = true;
//set pace of the animation when transitioning
button.AnimationSpeed = 300;
//add the control to the form
this.controls.add(button)