Create a gui form from a datatype automatically.