Hi,
I have a User Control (with user properties ) and form in one project. From a button on the User Control I open the form. I want when i close the form (with the red X on right top of the form) to get a value from the form (from a textbox for example, filled by user) and send it to the property of the user control.


(I make it work but with custom button on form , timers and flags, and i don't think that's the way. And i need to use the standard close button ) Any help is welcome. Thanks in advance.