예제 #1
0
        private void gridUoTypes_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (gridUoTypes.SelectedIndex < 0)
            {
                return;
            }

            Powerscript.Type type = ((Powerscript.Type[])gridUoTypes.ItemsSource)[gridUoTypes.SelectedIndex];

            gridUoProps.ItemsSource  = type.Properties;
            gridUoEvents.ItemsSource = type.Events;
        }
예제 #2
0
 public TypeView(Powerscript.Type type, LibEntryView parent)
 {
     this.type   = type;
     this.parent = parent;
 }