The following code example demonstrates how to call the Click event of a Button on Click event of another button. The following code assumes that two Button and one TextBox controls have been instantiated on a form. On the click of the button1, we will generate the click event of the button2 if the the value of the textbox1 is numeric. Continue reading Click event of a Button on Click event of another button in C#
you can use custom control to add additional property in the button through making custom control.
in this article i will add some misc properties in the button custom control and also will show how to use this control in your project. Continue reading How to add misc propety in Button custom control in vb.net
You can change the background color of the button in vb.net at run-time using ‘BackColor’ property. Like the below: Continue reading Change the background color of the button in vb.net
The Paint event is raised when the control is redrawn. It passes an instance of PaintEventArgs to the method that handles the Paint event.
Continue reading Paint event of Button control in vb.net