Addin Form - Delays
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
Im close to completing my very long awaited addin. I have noticed though that the form delays up to 6-7 seconds when i load it. I would most definately prefer it to load immediately when i click the button.
In my AddinGlobal i create the member ready for its instance like this:
Public Shared fForm As frmMain
In my ButtonActions i create the instance like this:
AddinGlobal.fForm = New frmMain
AddinGlobal.fForm.Show()
I dont have anything in my Load Event but i do have a Backgroundworker running to call a large function while the form is loading / loaded. Is there anything i can do to improve the loading time of the form? I am currently calling my BackgroundWorker in the forms Shown event so it shouldnt even be this slowing it down as its not called until the form is shown.
Cheers
Nacho
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.