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#
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
If you want to make a form the top-most form in a Windows Forms application at design time then you need to set the TopMost property to true in the Properties window.
Continue reading How to place a Windows Form on Top in C#
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
You can easily change the default icon (left side in title bar) of your any windows form with your own icon image file. You can add it directly with the icon property. Continue reading How to change form Icon using vb.net
In this example we will learn that how to use showdialog method in vb.net to display a windows form.
when we use this method then form will be open as dialog.
Continue reading Display windows form as dialog in vb.net