In this article i will tell you how to open new Form on click of the button using C# .net.
In the Previous articles i explained how to insert record into access database using vb.net, how to update record into access database using vb.net, how to delete record from access database using vb.net, how to add namespace in vb.net, redirect to page according to role while login in asp.net and many more about C#.Net.
Add Form to your project and Name it as "Form1.cs".
Add another form and name is as "Form2.cs".
Open Form1 and Drag and Drop Button Control on Form1.
Here what we will do is on clicking on the button we will open form 2.
Double click on button control.
Write the below code there on click event of the button.
Form2 op = new Form2();
Created object of Form2 and use show method to Display Form2.