I have a windows form called "Main" with a label call "lProgress"
I also have a Component called "Export"
Inside "Export" I have a function "PopulateData" here is what I would like to do.
On button click in main I call the PopulateData function.
public void PopulateData()
{
int uBound = Sectors.GetUpperBound(0);
int j = 0;
while( j <= uBound )
{
//Somehow Main.lProgress.Text = j;
}
}
How can I access this label in these circumstances?
Thanks,
Gavin
I also have a Component called "Export"
Inside "Export" I have a function "PopulateData" here is what I would like to do.
On button click in main I call the PopulateData function.
public void PopulateData()
{
int uBound = Sectors.GetUpperBound(0);
int j = 0;
while( j <= uBound )
{
//Somehow Main.lProgress.Text = j;
}
}
How can I access this label in these circumstances?
Thanks,
Gavin