ArcGISCompare.frmMaster.mnuDestination_Click C# (CSharp) Метод

mnuDestination_Click() приватный Метод

private mnuDestination_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        private void mnuDestination_Click(object sender, EventArgs e)
        {
            IFeatureWorkspace theFWS;
            IFeatureClass theFClass;
            // get the workspace containing the source data
            destWrkSpc = GeoDbProcs.GetWorkspace("Select the Implementation Geodatabase");
            if (destWrkSpc != null)
            {
                destWorkspaceLabel.Text = MiscProcs.TrimText(destWrkSpc.PathName, destWorkspaceLabel.Font, destWorkspaceLabel.Size);

                String[] theDestNames = GeoDbProcs.GetFeatureClassNames(destWrkSpc);
                lbDestination.Items.Clear();
                theFWS = (IFeatureWorkspace)destWrkSpc;

                foreach (String theDestName in theDestNames)
                {
                    theFClass = theFWS.OpenFeatureClass(theDestName);
                    lbDestination.Items.Add(new FeatureData(theDestName, theFClass));
                    Application.DoEvents();
                }

            }
            // make the Analyze option Visible
            //mnuAnalyze.Visible = true;
            //mnuAnalyzeDestination.Visible = true;
            mnuRun.Visible = true;
        }