>I'm trying to programatically put a class on the window screen.
Ryan explained how to do that, but another answer would be, "Don't Do That." :-) It generally seems to be better to use a Top-Level form than to put controls directly on the desktop....