G
Guest
Hi guys.Consider the following situation:
There is a panel on a form whose visible property is set to false(I mean it
is invisible
when it is created.)
there is a button on this panel which when pressed,shows a modal
form(ShowDialog function).
if we set panel's visible property to "True" at run time,and then press the
button,the modal form is displayed,but when you close the modal form,an
exception is thrown with the following message:
"An error has occured in the application"-it says something like
"SEHException".
I'm becoming angry now,since I encounter many of these situations.Is it a
bug?and
if it is,do you have any solution?
There is a panel on a form whose visible property is set to false(I mean it
is invisible
when it is created.)
there is a button on this panel which when pressed,shows a modal
form(ShowDialog function).
if we set panel's visible property to "True" at run time,and then press the
button,the modal form is displayed,but when you close the modal form,an
exception is thrown with the following message:
"An error has occured in the application"-it says something like
"SEHException".
I'm becoming angry now,since I encounter many of these situations.Is it a
bug?and
if it is,do you have any solution?