private void lstAnimations_MouseDoubleClick(object sender, MouseButtonEventArgs e) { IPropertyInspectable obj = (lstAnimations.SelectedItem as IPropertyInspectable); PropertyInspect pi = new PropertyInspect(obj); pi.Show(); }
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(); }
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(); }