Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Redrawing in xna *solved..that was quick O_o*  (Read 747 times)

0 Members and 1 Guest are viewing this topic.
Redrawing in xna *solved..that was quick O_o*
« on: August 07, 2009, 01:35:57 am »
  • Doesn't afraid of anything
  • *
  • Reputation: +42/-0
  • Offline Offline
  • Gender: Male
  • Posts: 7002
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_series1

However, 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
« Last Edit: August 07, 2009, 01:39:01 am by MG-Zero »
Logged



i love big weenies and i cannot lie
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.238 seconds with 36 queries.