public PropertyFiltersCtrl() { this.InitializeComponent(); PropertyDescription[] array = PropertyDescription.Enumerate(); PropertyDescription[] array2 = array; for (int i = 0; i < array2.Length; i++) { PropertyDescription item = array2[i]; this.PropertyNamesLB.Items.Add(item); } }
private void ClearAndInitialize() { m_ItemDescriberDataSet.ItemProperty.Clear(); m_ItemDescriberDataSet.Items.Clear(); m_ItemDescriberDataSet.Property.Clear(); foreach (PropertyDescription property in PropertyDescription.Enumerate()) { ItemDecriberDataSet.PropertyRow row = m_ItemDescriberDataSet.Property.NewPropertyRow(); row.Code = property.ID.Code; row.Name = property.Name; m_ItemDescriberDataSet.Property.AddPropertyRow(row); } }