Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Reply
how to open windows form in button click
Jiyalal Gupta
9 years ago
618
Reply
dear friends/sir
i want to open windows form c# . after button click
in which i have only and only one form1 and button1
i have done this. now i want to button act like
if first time i pressed it it should show form1
in second click form 1 should be close and new form1 display.
my mean is to i don't want dublicate form.
i want second time when i pressed button it should load_form1()
currently what happening when i'm pressing button more then 1time it creating
many instance of that form
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How can i show system name in Form
show gridview in button click