I am developing a gha. When the customized batery is called, a winform will be displayed. Then I input some parameters into the winform, and click a OK button, then the parameters will be import into the gh file, and a object will be built in rhino. Now I want to change the parameters in the winform, and the shape of the object will be change when I click the OK button again. How can I realize it?
I think that the OK button should trigger an event of the gh. But how?