Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

how to disable form1 on a button click event of form2 which loads as a dialog box on top of form1

$
0
0

Hi,

I am a newbie in c# windows forms and I have 2 forms here form 1 and form 2. Form2 loads as a dialog box from form1 and form2 has 2 buttons OK and CANCEL. on clicking cancel button I want the controls in the form2 to get disabled. Please help me out.

Thanks in advance.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>