vb.net - WeifenLuo DockPanel Suite Form Freeze on Close -


recently decided implement weifenluo dockpanel suite vb.net application. works fine, until try , close application, freezes. nothing happens.

i tried:

  • disposing of dockpanel before closing
  • using application.exit()
  • runningapplication.doevents() before closing
  • closing open dockpanel forms before closing.
  • running application outside of visual studio debugger.
  • setting visual studio target x86 instead of anycpu
  • upgrading/downloading dockpanel suite framework version

yet still nothing,t still freezes.

the output shows following messages:

the thread 0x1f34 has exited code 259 (0x103). thread 0x22b8 has exited code 259 (0x103). 

with thread names being different each time. don't have threads running.

this occurs on form dockpanel.

any thoughts? can't find else issue online, , frustrating.

thanks.

in form closing event of application, iterated through open documents in dockpanel using:

while < dockpanel1.activedocumentpane.contents.count         dim dockcontent idockcontent = dockpanel1.activedocumentpane.contents(i)         dockcontent.dockhandler.close() end while 

this causing application freeze. fix this, replaced code this:

for each item dockcontent in dockpanel1.documents         item.dockhandler.close() next 

Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -