Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
open a new form with a button and close the last one
Mr.H
Programming language:
Whatever
2021-08-20 12:36:48
0
Q:
open a new form with a button and close the last one
artsin
Code:
Whatever
2021-02-16 07:04:14
this.Hide(); var form2 = new Form2(); form2.Closed += (s, args) => this.Close(); form2.Show();
1
Tags
new
button
form
last
Related
reload pageon button click
how to make a div disappear when another button i clicked
how to submit a form with submit button outside form
action upton execution of ok button in msg box win forms
New to Communities?
Join the community