You mean there is a way to compile a windows form project into a dll?

Thanks