AttachAsGuiDockable

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.

Parents Reply Children
No Data