I am an absolute beginner and a bit desperate.
I found some answers to my question on google, but they are formulated in a way that is not very explanative and simple.
I have a mainform (form1) and a custom made dialog (form2).
Form1 has a ButtonAddString and a Label1.
Form, 2 has aTextbox1 and OK and Cancel buttons.
In runtime, when I push the ButtonAddString, it opens the Form2 dialog and I can write a string in dialog into Textbox1 and want it to pass it to the mainform to Label1.Text
The problem as I understand it, is that when I close the dialog, the instance of that Form2 form does not exists anymore. Also intelisense does not "provide" me with ability to read form2 values in form1 code.
Pls help.