Usercontrol with a form

  • Thread starter Thread starter TheEtron
  • Start date Start date
T

TheEtron

I made a usercontrol and it has a form which can popup.
This form contains a textbox and a submit button.
How can I return this value to the usercontrol?

Regards
The Etron
 
Etron,

\\\
dim frm as new myPopupForm
frm.showdialog
myfield = frm.PublicField
frm.dispose
///

I hope this helps,

Cor
 
I made a usercontrol and it has a form which can popup.
This form contains a textbox and a submit button.
How can I return this value to the usercontrol?

In .NET 2.0:

\\\
Using f As New FooForm()
If f.ShowDialog() = DialogResult.OK Then
Bla = f.Bla
End If
End Using
///
 
Back
Top