Click event of a Button on Click event of another button in C#

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#”

How to create Splash screen in your windows application in .net

 
A splash screen is an image or screen that appears while your application or program is loading. It may also be used to describe an short introduction page of application that can contains version number, application title etc. Continue reading “How to create Splash screen in your windows application in .net”

How to resize windows form at runtime in .net

 
You can change the size of the windows form at run time in many ways. You can change both the height and the width of the form programmatically by Size property, or you can set the Height or Width properties individually. You can also change the size using the Windows Forms Designer.
Continue reading “How to resize windows form at runtime in .net”