algorithmic modeling for Rhino
Hi all,
I have just started to make new components with Visual Studio. I'm following the very useful GrasshopperSDK Help and now I would like to include an icon in the toolbar.
How could I do it?
Any help?
Thanks in advance,
regards,
Tags:
hi Ramon,
First add your icon file to the Ressources of your VS project( just drag and drop to the Ressource Window) - I think your file has to be 24x24px
then add this line to you code:
protected override System.Drawing.Bitmap Icon { get { return Properties.Resources.MyIcon; } }
Thanks!
but I'm afraid I did not understand the line...
I've added the icons to the project, but the line you wrote seems C#...do you know how does it code in VB?
regards,
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by