|
-
Apr 23rd, 2015, 10:51 PM
#1
Thread Starter
Lively Member
DockPanel Suite Main Form Freezing on Close
Hello, recently I decided to implement the WeifenLuo DockPanel Suite into my VB.NET application. Everything works fine, until you try and close the application, where it then freezes. Nothing happens.
I tried disposing of the DockPanel before closing, I tried using Application.Exit() I tried running Application.DoEvents() before running, and even closing any open DockPanel forms before closing. Nothing, it still simply freezes.
The output shows the following messages:
With the thread names being different each time. However I don't have any threads running?
Code:
The thread 0x1f34 has exited with code 259 (0x103).
The thread 0x22b8 has exited with code 259 (0x103).
Any thoughts? I can't find anyone else with this issue online, and it is really frustrating.
Thanks.
-
Apr 24th, 2015, 12:55 AM
#2
Re: DockPanel Suite Main Form Freezing on Close
Does this only happen when running the project in the debugger? If you use Ctrl+F5 to run without debugging, do you still get the same behaviour?
-
Apr 24th, 2015, 06:54 AM
#3
Thread Starter
Lively Member
Re: DockPanel Suite Main Form Freezing on Close
Yes, it happens even without the debugger.
-
Apr 24th, 2015, 03:01 PM
#4
Thread Starter
Lively Member
Re: DockPanel Suite Main Form Freezing on Close
 Originally Posted by jmcilhinney
Does this only happen when running the project in the debugger? If you use Ctrl+F5 to run without debugging, do you still get the same behaviour?
It happens even without the bugger. It is also only occurring on the main form that houses the DockPanel. Even if I create a new form with the DockPanel, the same thing happens. It appears to only happen if I place a DockPanel on the form.
Last edited by theryan722; Apr 24th, 2015 at 03:08 PM.
-
Apr 24th, 2015, 04:38 PM
#5
Thread Starter
Lively Member
Re: DockPanel Suite Main Form Freezing on Close
 Originally Posted by jmcilhinney
Does this only happen when running the project in the debugger? If you use Ctrl+F5 to run without debugging, do you still get the same behaviour?
I was able to resolve the issue. In my form closing event, I was improperly iterating through all of the open DockContent items, causing the form to hang.
Thanks.
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
|