private void mnuAnalyzeDestination_Click(object sender, EventArgs e)
{
// Set the Variable for storing the item
FeatureData theItem;
initProgressBar(lbDestination.Items.Count);
// check the contents
for (int i = 0; i < lbDestination.Items.Count; i++)
{
theItem = (FeatureData)lbDestination.Items[i];
theItem.fRecords = GeoDbProcs.GetFeatureCount(theItem.Name, destWrkSpc);
GPB.Increment(1);
Application.DoEvents();
}
clearProgressBar();
}