Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public TypeView(Powerscript.Type type, LibEntryView parent)
 {
     this.type   = type;
     this.parent = parent;
 }