private AttributeData getAttListBoxItem(ListBox theList, String AttName, esriFieldType theT, int theL) { if (theList.Items.Count > 0) { for (int i = 0; i < theList.Items.Count; i++) if (theList.Items[i].ToString().ToLower() == AttName.ToLower() + " - " + MiscProcs.UnBuildDataType(theT, theL).ToLower()) return (AttributeData)theList.Items[i]; } return null; }