コード例 #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();
        }
コード例 #4
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();
 }
コード例 #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();
 }