C# How can I make Shortcuts with Buttonclick?


#1

I created an add-ins.
i wannt make shortcut button click

someone help me~!
i use c#


(Dale Fugier) #2

I am not sure we understand what this means. Are you using WinForms? Are you just trying to hook up a button click event?


#3

I’m sorry I’m not good at English.

I have to click on the button to execute the command
I want to use the command to execute a button click event
I wonder if you can run each button with a shortcut


(Dale Fugier) #4

If you want to run a command when you click a button, then have the button’s click handler call RhinoApp.RunScript.

– Dale