Setting form TOP MOST to "true" error

jkatshor

Member
Joined
Mar 20, 2009
Messages
11
Programming Experience
Beginner
Hi everyone,
I have written a program that if all if statements are true then it closes out with me.close() without displaying the form.
If a if statement is false, then the form shows with some text as to why it failed.
The program works perfectly....until I change the form setting "top most" to true, if the if statements are true, instead of the form closing as it should, I receive ObjectDisposedException was unhandled
Cannot access a disposed object.
Object name: 'Form1'.


I'm lost to what the problem is?

Thanks in advance..
 
Back
Top