Windows Develop Bookmark and Share   
 index > Windows Forms General > How to open a form from another on button click?
 

How to open a form from another on button click?

How do i set the button1_click event to open form2.cs from form1.cs?
  • Edited byKarel ZikmundMSFTMonday, October 05, 2009 3:45 PMWinForms question
  • Moved byKarel ZikmundMSFTMonday, October 05, 2009 3:47 PMWinForms question (From:.NET Framework 4 Application Compatibility - Beta 1)
  •  
gdogg1  Sunday, October 04, 2009 7:02 PM

Form2 NewForm = new Form2();
Newform.show();


VB.NET to C# http://www.developerfusion.com/tools/convert/vb-to-csharp/
Se3ker385  Monday, October 05, 2009 5:09 PM
Check out WinForms tutorials on the internet.
Karel Zikmund  Monday, October 05, 2009 3:46 PM

Form2 NewForm = new Form2();
Newform.show();


VB.NET to C# http://www.developerfusion.com/tools/convert/vb-to-csharp/
Se3ker385  Monday, October 05, 2009 5:09 PM

You can use google to search for other answers

Custom Search

More Threads

• Cannot Modify ToolStripItem Pressed property
• Application Icon
• How to hide and show tabpage ?
• Custom editor on Property Grid using my.settings as selected object
• Stop sound
• Migrating application from Access/SQL to C#/SQL - Combo box issue
• How to Edit items in ListBox
• ComboBox Changes in .NET 2.0
• What do I Raise an Event?
• event forwarding