public void saveState(object sender, DoWorkEventArgs e)
{
BackgroundWorker saveWork = sender
as BackgroundWorker;
int totalSteps = 5;
for (int i = 1; i <= totalSteps;
i++)
{
saveWork.ReportProgress(i * 100 / totalSteps);
}
// blClient
client = new blClient();
//
client.createClient(Forename,Surname, Road, Area, City, County,Postcode,
Telephone, Email);
}
|