I apologize for the trivial questions, this is the first time I’ve tried C # and I’m trying to follow the guide on the site Simple Component with C#, VB
Thanks Menno, I’m using your advice and also a book on C #.
Unfortunately, despite the C # ScriptingForGrasshopper_1stEdition guide I have some difficulties to understand the general organization, for example: how do I know if I need a Class, a Method, a property or something else?
Knowing these things first can help me research and write code, I think.
Another question: I would like to associate an icon to each component and to the plugin, but I don’t understand where the image should be loaded and how to say to VS where this image is.
for example: how do I know if I need a Class, a Method, a property or something else?
Knowing these things first can help me research and write code, I think.
You are trying to speak before you know the alphabet. Don’t skip steps in the learning process as you are only hurting yourself.
I know that the best way is to take a dedicated programming course, but there is not always the time and sometimes quick solutions are needed. Can anyone give me information on the inclusion of icons in the components?
Gradually the time of formation will come, gradually. The training is underway with a volume/book on C # (and I already program in other procedural languages), practice is necessary and often you are wrong even after “understanding”.
Thanks to those who want to give me a hand.
Recently I had to format the pc and reinstall Rhino7 and Visual Studio 2019. I installed RhinoCommon for v7 and I recovered a plugin that I had saved on GitHub: unfortunately it tells me that it does not find some namespaces, do you know how I can solve?