예제 #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();
 }