Addin - Forms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey
Whats the general cencus on how forms are managed for an addin? Im having issue getting the right. Originally i declared my form in AddinGlobal as a New form but thats not right as it should be instantiated until needed.
Public MyForm As New MyMainForm
So, i changed it to a declare and instantiated in under the button click
'in AddinGlobal
Public MyForm As MyMainForm
'in button click
AddinGlobal.MyForm = New MyMainForm
But im getting issues as i have sime other forms that get added to my main form that require access to properties and functions of the Mainform. however because it hasnt been instantiated, i get a bunch of errors.
What are other people doing to load forms in their addins?
Thanks
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.