通过函数传递不同的System.Type参数,然后根据这个参数创建不同的控件实例。
例如这个样子:
private void CreateByType(System.Type type)
{
    Control ctl = new ???//这里怎么弄
}