|
-
Jan 29th, 2024, 07:06 AM
#1
Thread Starter
Lively Member
[RESOLVED] Shutdown error due to Unshown form
My winforms application consists of multiple forms, but the user is only presented with one form at a time.
In the background, the application might be using functions and procedures from other forms.
The issue is, one of these background forms is preventing my system shutdown by throwing error. The form in question here, was not presented(.shown() not done).
I tried finding the root cause of the issue, but could not find anything relevant.
Is anyone aware about why an unshown form is receiving WM_QUERYENDSESSION from the os?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|