public override Form DrillDown() { // DrillDown on a ClassType will just browse it using Reflection var pgForm = new GenericPropGrid(MVal); pgForm.Text = $"System.Type = {MVal.FullName}"; pgForm.ShowDialog(); return null; }
public static void BrowseReflection(object obj) { if (obj == null) { MessageBox.Show("Object == null"); return; } var pgForm = new GenericPropGrid(obj); pgForm.Text = $"Object Data (System.Type = {obj.GetType().FullName})"; pgForm.ShowDialog(); }