When you pull up a second form in your program,
how do you get the values from the form?
Form2 dataForm = new Form2();
dataForm.ShowDi alog();
if (dataForm.Dialo gResult == DialogResult.OK )
{
// I want to get the textBox1 data from the form
}
Thanks.
how do you get the values from the form?
Form2 dataForm = new Form2();
dataForm.ShowDi alog();
if (dataForm.Dialo gResult == DialogResult.OK )
{
// I want to get the textBox1 data from the form
}
Thanks.
Comment