Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was able to create a form in xna using "Add Windows Form", named "Form1" then adding:

Application.Run(new Form1()); 

How can I add graphics to some control, perhaps a picturebox, on Form1 that could potentially show my game as in a level editor?


share|improve this question
up vote 2 down vote accepted

Microsoft has an official tutorial on this:

"or maybe you're writing a level editor and want to place Windows user interface controls around the 3D drawing surface"

Basically, you embed your game as a control in a winform.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.