如放一个按钮在窗体上,这时窗体的设计代码中就自动加入了
// 
// button1
// 
this.button1.Location = new System.Drawing.Point(264, 437);假如我现在自定义一个控件叫Family,Family中有个属性叫Personclass Family : Component
{
    public Person{ get; set; }
}[TypeConverter(typeof(ExpandableObjectConverter))]
class Person
{
    public Person(string name, int age)
   {
        this.Name = name;
        this.Age = age;
   }
    public string Name{ get; set; }
    public int Age { get; set; }
}
这时我在窗体上拖入一个Family,设置其属性Person(假设设置Name为“小明”,Age为15),怎么才能让它在这窗体的设计代码上自动添加
this.family1.Person = new Person("小明", 15);