Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        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();
        }