Beast777
Jun 13th, 2007, 10:25 AM
I know this should be easy and I have been trying many examples with no luck. In VB I would just create a global module and boom done. Not so easy in C# it seems.
I have a MDI parent that opens a form. On that form there is a button and once clicked it opens another form that basically just asks the user to pick from a combobox. Then the user clicks the button and it returns to the original form with the value. If anyone could throw together even two forms both with a button and a textbox and when on form1 they click the button it opens form2 and on form2 you type in a value and click the button and it shows in form1, I think that would clarify it. But please paste your entire code for each form. I have been at this for some time and need to figure this out or just go back to VB.
I have a MDI parent that opens a form. On that form there is a button and once clicked it opens another form that basically just asks the user to pick from a combobox. Then the user clicks the button and it returns to the original form with the value. If anyone could throw together even two forms both with a button and a textbox and when on form1 they click the button it opens form2 and on form2 you type in a value and click the button and it shows in form1, I think that would clarify it. But please paste your entire code for each form. I have been at this for some time and need to figure this out or just go back to VB.