private void classPickComboBox_SelectedIndexChanged(object sender, EventArgs e) { //user selected a class... uint classhash = GodzUtil.GetHashCode((string)classPickComboBox.SelectedItem); activeClass = null; foreach (ClassBase tempClass in classes) { if (tempClass.getObjectName() == classhash) { activeClass = tempClass; break; } } //grab all the properties.... props.Clear(); activeClass.getPropertiesNonRecurse(props); propertyListBox1.Items.Clear(); foreach (ClassPropertyInfo cp in props) { propertyListBox1.Items.Add(cp.mName); } //grab the documentation for this class from the database... classInfo = (GodzClassInfo)GodzClassDescriptionRegistry.get(activeClass.getObjectName()); if (classInfo == null) { classInfo = new GodzClassInfo(); GodzClassDescriptionRegistry.put(activeClass.getObjectName(), classInfo); } dbProperties = classInfo.cpList; }