1
Answer

Setting values to a custom control in a form from an other windows form

ciprian S

ciprian S

16y
2k
1

Hi,

I have in my application 2 forms. One in which I have to create some custom controls(the custom control is created from a label,textbox and an button) . the values for the custom controls have to come from the other form (new custom control )  when I press a button. How can I create this contols dinamicaly on the first form from the second or how can I transmmit the values from one form to another if the second form has to be closed when I pressed the button?

 

Thanks.

Answers (1)