G
Guest
Dear Anyone,
While most of you will laugh at the fundamental nature of my question, I am
a bit stuck.
I am a reasonable VC++ programmer trying to make the switch to C#. I am
trying to create a simple app in which the user selects a list item,
double-clicks it and then a dialog box is created to show additional
information.
My problem is that I can't seem to get access to the label or text controls
within the newly created dialog box.
Thus my OnDoubleClick() looks like this:
OnDoubleClick()
{
NewDialog D;
D = new NewDialog();
D.ShowDialog();
/* I would like to poplate some controls here */
}
Any help really appreciated.
Thanks
Greg
While most of you will laugh at the fundamental nature of my question, I am
a bit stuck.
I am a reasonable VC++ programmer trying to make the switch to C#. I am
trying to create a simple app in which the user selects a list item,
double-clicks it and then a dialog box is created to show additional
information.
My problem is that I can't seem to get access to the label or text controls
within the newly created dialog box.
Thus my OnDoubleClick() looks like this:
OnDoubleClick()
{
NewDialog D;
D = new NewDialog();
D.ShowDialog();
/* I would like to poplate some controls here */
}
Any help really appreciated.
Thanks
Greg