For this to work using the type you need to add the image to your project, set it's build action to embedded resource and make sure that the filename is the same as the FQ type name of your class with a .bmp on the end...
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.