Hi I have a Form with textbox controls on it
and a run button
The Run button Starts a Class that does some
work against our Sql Database In a Loop
During this time i want to update the windows form for current status of
this Object running
Iam havein problems referencing back to the form
if i try to add refference i get a circular problem
i can call a method of the form but i can't gets it type at compile time..
any examples will help thanks
example from button click
private void btnRun_Click(object sender, EventArgs e)
{
this.btnRun.Enabled=false;
//parameters app logging class, db, txtfile or eventlog, thread id,
application xml configuration
PreProcessing.RunPreProcess oPreProc = new
PreProcessing.RunPreProcess(this.oLog, 1, this.AppInfo);
oPreProc.RunningAsService = false; // also runs as a windows service
oPreProc.Run();
oPreProc.Close(); // clean up
this.btnRun.Enabled = true;
}
i want to update the windows form and can not reference it...early binding
MJ