ArcGISCompare.frmMaster.mnuAnalyzeDestination_Click C# (CSharp) Method

mnuAnalyzeDestination_Click() private method

private mnuAnalyzeDestination_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        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();
        }