Пример #1
0
 private void AddPrimitiveProperty()
 {
     if (_ClassList.SelectedItem != null)
     {
         IPropertyContainer pc = _ClassList.SelectedItem as IPropertyContainer;
         if (pc != null)
         {
             pc.AddPrimitiveProperty();
             RefreshPropertyList();
             if (_PropertyList.Items.Count > 0)
             {
                 _PropertyList.SelectedIndex = _PropertyList.Items.Count - 1;
             }
         }
     }
 }