Hello iam wont to open a new form but its say error "embedded statement cannot be a declaration or labeled statement".
The code is:
`Form2 f2 = new Form2();
f2.Show;
this.Close; `
thanks alot!
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaish MathewsPosted Oct 23, 2018, 4:04 AM
Piyush PansuriyaPosted Oct 23, 2018, 4:00 AM
Or KadoshPosted Oct 23, 2018, 3:34 AM
Jaish MathewsPosted Oct 23, 2018, 3:26 AM
Or KadoshPosted Oct 23, 2018, 3:23 AM
Jaish MathewsPosted Oct 23, 2018, 3:19 AM
Or KadoshPosted Oct 23, 2018, 2:54 AM
Guest UserPosted Oct 23, 2018, 2:46 AM