You would structure the bootstrap configuration and IoC in the same way (although I'm not sure how you included the form classes themselves, I did not work very well with WinForms). The only real difference you need is when / where the initializer is called. It just needs to be at the launch of the application. For web applications, you really call it from Application_Start. I think that in WinForms applications it will be in the OnLoad event of the main form .
If you have the main method anywhere (similar to a console application), this will work. This could be if the WinForms application was ported from a console application, for example.
source share