Пример #1
0
        private void lstAnimations_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            IPropertyInspectable obj = (lstAnimations.SelectedItem as IPropertyInspectable);
            PropertyInspect      pi  = new PropertyInspect(obj);

            pi.Show();
        }
Пример #2
0
        private void lstSprites_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            SpriteObject    obj = (lstSprites.SelectedItem as SpriteObject);
            PropertyInspect pi  = new PropertyInspect(obj);

            pi.Show();
            Thread.Sleep(200);
            System.Windows.Forms.Application.DoEvents();
            pi.Focus();
        }
Пример #3
0
        private void cmdViewSubObject_Click(object sender, RoutedEventArgs e)
        {
            PropertyGridItem propItem = PropertyGrid.SelectedItem as PropertyGridItem;

            if (propItem == null)
            {
                return;
            }
            IPropertyInspectable item = propItem.ValueObj as IPropertyInspectable;

            if (item == null)
            {
                return;
            }
            PropertyInspect pi = new PropertyInspect(item);

            pi.Show();
        }
 private void cmdViewSubObject_Click(object sender, RoutedEventArgs e)
 {
     PropertyGridItem propItem = PropertyGrid.SelectedItem as PropertyGridItem;
     if (propItem == null) return;
     IPropertyInspectable item = propItem.ValueObj as IPropertyInspectable;
     if (item == null) return;
     PropertyInspect pi = new PropertyInspect(item);
     pi.Show();
 }
Пример #5
0
 private void lstAnimations_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     IPropertyInspectable obj = (lstAnimations.SelectedItem as IPropertyInspectable);
     PropertyInspect pi = new PropertyInspect(obj);
     pi.Show();
 }
Пример #6
0
 private void lstSprites_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     SpriteObject obj = (lstSprites.SelectedItem as SpriteObject);
     PropertyInspect pi = new PropertyInspect(obj);
     pi.Show();
     Thread.Sleep(200);
     System.Windows.Forms.Application.DoEvents();
     pi.Focus();
 }