private void mnuSourceG_Click(object sender, EventArgs e)
{
int FCount;
IFeatureWorkspace theFWS;
IFeatureClass theFClass;
// get the workspace containing the source data
srcWrkSpc = GeoDbProcs.GetWorkspace("Select the Template Geodatabase");
if (srcWrkSpc != null)
{
srcWorkspaceLabel.Text = MiscProcs.TrimText(srcWrkSpc.PathName, srcWorkspaceLabel.Font, srcWorkspaceLabel.Size);
theFWS = (IFeatureWorkspace)srcWrkSpc;
String[] theSrcNames = GeoDbProcs.GetFeatureClassNames(srcWrkSpc);
lbSource.Items.Clear();
foreach (String theSrcName in theSrcNames)
{
theFClass = theFWS.OpenFeatureClass(theSrcName);
lbSource.Items.Add(new FeatureData(theSrcName, theFClass));
Application.DoEvents();
}
// make the Analyze option Visible
//mnuAnalyze.Visible = true;
//mnuAnalyzeSource.Visible = true;
theHelper.DisplayPage(2, helpBox);
}
else { MessageBox.Show("No Template Geodatabase Selected"); }
}