Пример #1
0
 private void RefreshPropertyList()
 {
     _PropertyList.Items.Clear();
     if (_ClassList.SelectedItem != null)
     {
         IPropertyContainer pc = _ClassList.SelectedItem as IPropertyContainer;
         if (pc != null)
         {
             var properties = pc.GetProperties();
             for (int i = 0; i < properties.Length; i++)
             {
                 _PropertyList.Items.Add(properties[i]);
             }
         }
     }
 }