Making inactive one form while working on another form

rockyy

Active member
Joined
Feb 3, 2010
Messages
25
Programming Experience
Beginner
suppose i have two forms form1 and form2

and i clicked on button which lead me to the form2

1y39k0.jpg


i want i shouldn't be able click on form1 untill and unless i close the existing form window(i.e form2)

thanx
 
Use .ShowDialog instead of .Show
 
Back
Top