1
\$\begingroup\$

I would very much like to host my monogame window inside a Form so that I can take advantage of the nice gui elements in the C# framework when creating a simple level editor. I have looked online, but I am unable to find any working examples on how to do it. What is the state of this? Is it possible? I am using window 8.

Regards,

\$\endgroup\$
  • \$\begingroup\$ You might want to have a look here: github.com/jaquadro/MonoGame-WinFormsControls. It seems possible to do with little tricks. \$\endgroup\$ – Alexandre Desbiens Jul 11 '14 at 15:13
  • \$\begingroup\$ I have had a look at it before posting, but I am unable to get it to work. First I changed the assembly from windows phone to windows 8, but then nothing in the draw call seemed to make a difference (changing the background colour did not change anything for example) and after trying to instal openTK (only had mongame installed before) I got an error saying platform not supported. \$\endgroup\$ – XnaToMonoUser Jul 11 '14 at 16:29
  • \$\begingroup\$ I am far from being a Mono or C# expert, so I will not post any answer as I cannot help you much. I just found that link with a quick google search. I hope a MonoGame and C# expert will answer you. \$\endgroup\$ – Alexandre Desbiens Jul 11 '14 at 16:39
1
\$\begingroup\$

Here is working example of Monogame + WPF interop: http://panthernet.ru/forum/index.php?/topic/21-monogame-wpf-interop-application/

| improve this answer | |
\$\endgroup\$
  • 1
    \$\begingroup\$ Link is dead... \$\endgroup\$ – jjxtra Dec 23 '15 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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