G
Guest
Background: I have a windows form called 'frmMain'. On this form, I have a
LABEL control called 'lblWorkStatus', and it's property is set to PUBLIC.
On another form, I have a process that checks on the status of a project
that our company is working on. Programmatically, if the status changes, I
want to relay that information to the 'lblWorkStatus' control on the main
form.
My code looks like this:
frmMain fmain = new frmMain();
fmain.lblWorkStatus.Text = "Status: Project Postponed";
The control never gets updated. Am I doing something wrong?
Thanks,
LABEL control called 'lblWorkStatus', and it's property is set to PUBLIC.
On another form, I have a process that checks on the status of a project
that our company is working on. Programmatically, if the status changes, I
want to relay that information to the 'lblWorkStatus' control on the main
form.
My code looks like this:
frmMain fmain = new frmMain();
fmain.lblWorkStatus.Text = "Status: Project Postponed";
The control never gets updated. Am I doing something wrong?
Thanks,