The Person class in this case must have a parameterless constructor, otherwise it throws a MissingMethodException (No parameterless constructor defined for this object) when you call the ShowDialog() method.
This makes the control quite restrictive.
↧