Added camera capture code for winform
Added potential fix