I'm working on a forms app that uses xna, and I've modified this example to my needs (just made some changes to the Draw function in the control):
http://creators.xna.com/en-GB/sample/winforms_series1However, I have no idea how to refresh the control and redraw it. What I'm trying to do is load an image into it using a file dialog. When I select the file and hit ok, I need the control to refresh. The image is loaded into memory and it refreshes when the window loses and regains focus, but how can I redraw it manually?
EDIT: Nevermind, I poked around a bit more and got it