I have two Windows Forms (MyApp, Generator), and I need to call Generator from MyApp
Form gen = new Generator();
gen.Show();
string result = gen.IDontKnowWhatToDoHere();
My Generator.cs Form has three TextBox and a Button Ok, so when the user type some text in the three TextBoxes an click Ok I want to get the the Text typed in those three TextBoxes.
Do you have any ideas how I can achieve this.
Thanks.
1 Answer