Hello;
I need to hide all forms ehich are open when I open particular new form.
Ex: Suppose form A,B,C are open. And when I want to open form D, all other open forms (A,B,C) will be hide.
I tries this code when open new form (on form load event):
AlcoholDetails alc = new AlcoholDetails();
AlcoholTestingRecord alTst = new AlcoholTestingRecord();
alc .Hide();
alTst .Hide();
But Its not working.
Thank you.

Rafnas T PRank #280 · 8.8K reputationPosted May 4, 2017, 12:41 AM EDT
Khaja MoizuddinRank #270 · 9.4K reputationPosted May 4, 2017, 12:43 AM EDT
Kailash Polai195 reputationPosted Aug 27, 2017, 11:57 PM EDT
Mohamed ElqassasRank #688 · 3.5K reputationPosted May 4, 2017, 1:04 AM EDT
Ankit ShuklaRank #2,120 · 672 reputationPosted May 4, 2017, 1:27 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts