Now I am trying to make a command with ModelessForm dialog.
The command is supposed to be like,
- Start a custom command.
- ModelessForm form dialog is shown
- Automatically GetObject method starts.
4.Transform the object with button_clicked event.
Now, I use “Form_Shown” event for GetObject method.
private void Form_Shown(Object sender, EventArgs e)
var go = new GetObject();
RhinoObject obj = go.Object(0).Object();
The GetObject method works ok that I could pick up some object.
However, I could not find the next way which how to pass the RhinoObject to button_clicked event.
If anyone give me some advise, I would appreciate.