4
Reply

other way for hiding form

Ask a question
Majid Kamali

Majid Kamali

13y
1.3k
1
Hi.
in main form, Hide method does not work, but when I use code snippet below for hiding my form, it work.
What's the difference?

BeginInvoke
(new MethodInvoker(delegate
        {
           
Hide();
       
} ) );
Why Hide does not work but this method works?
Thanks

Answers (4)