Like this: I have Form1 and Form2. When you click button1, Form2 opens up.
I tried:
Form2.ShowDialog;and
Form2.Showand
Form2 f2 = new Form2(); Form2.ShowDialog;
But none of them works.
I got this error for all of them
Error 1 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\McKinlays Laptop\AppData\Local\Temporary Projects\Test System\Form1.cs 22 13 Test System
Edited by Roger, 09 January 2011 - 12:42 PM.


Sign In
Create Account


Back to top









