Added WinForm support