I have form1 and form2 running at the same time .
The flow is as below
1) Click form1 button
2) disable form1 button
3) show form2 ( form 1 is not closed)
4) click form 2 button
5) close form 2
6) enable form1 button
I have done till 5th step . Couldn’t do 6th . Can anyone help ?
You’re right – creating another copy of
Form1is not the right way to go.It’s not very clear from your question, but it sounds like you want to re-enable the same button that you disabled before opening Form2. In that case, you can listen to
Form2‘sFormClosedevent and handle it inForm1: