Using MicroStation Connect 17 version 10.127.00.209
I am going through the 'Building Addins step by step' tutorial. At step 5 I am trying to attach a dialog as dockable using thje following code:
public static void Toolbar(string unparsed) { ToolbarForm myForm = new ToolbarForm(); myForm.AttachAsGuiDockable(MyAddin.Addin, "toolbar"); myForm.Show(); }
I am getting an error that MyAddin does not contain a definhition for MyAddin.Addin.
Need help resolving the MyAddin.Addin value.
Thanks for your patience.
The tutorial is at:
stephttps://communities.bentley.com/products/microstation/w/microstation__wiki/31278/learning-microstation-addins-step-by-step
willmartinpe said:The tutorial is at:
Read carefully the chapter to the end, including discussion. How Addin public property should be declared is discussed there.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point