H
Homer Simpson
I have a form named dataGatheringForm with a few controls on it (some
generic labels and a button).
How do I set the properties of the form (title, color, etc.) and it's
controls (a label for example) at runtime? I've included the code I have so
far and it does work.
Specifically, in this code, how do I change the label.text (control named
label1) on this form? Then, how do I retrieve the user input from a textbox
named textbox1 (textbox1.value) on the same form?
public void ShowForm()
{
Form dataForm = new dataGatheringForm();
dataForm.ShowDialog();
// dialog title = "Check Design Profile";
}
Thanks,
Scott
generic labels and a button).
How do I set the properties of the form (title, color, etc.) and it's
controls (a label for example) at runtime? I've included the code I have so
far and it does work.
Specifically, in this code, how do I change the label.text (control named
label1) on this form? Then, how do I retrieve the user input from a textbox
named textbox1 (textbox1.value) on the same form?
public void ShowForm()
{
Form dataForm = new dataGatheringForm();
dataForm.ShowDialog();
// dialog title = "Check Design Profile";
}
Thanks,
Scott