Need an equivalent XNA framework that works with system.windows.forms (it doesn't need to work with XBox 360)

Next semester I'll take the Software Practive II class. In this class, my professor wants us to learn XNA. I play around with XNA quite often and enjoy its functionality and simplicity. However, XNA does not use System.Windows.Forms. Using CEGUI # I was able to get XNA to work with System.Windows.Forms BUT it has limited functionality (for example, while the mouse has "Left-click" and "Double-left-click", it has no "drag and drop") ...

So I'm hooking XNA for a new framework. Here's my question -> Is there a C # framework that has all the functionality and simplicity of XNA, but is also fully compatible with System.Windows.Forms (or at least fully compatible with System.Windows.Forms if I use a 3rd party tool )? The framework should NOT work with XBox360 - it should only work with Windows XP and Windows Vista. I would like it to have a similar syntax for XNA (in other words, to have similar methods like LoadContent, Draw and Update).

Thank you for your time,

~ BenShums

0


source to share


5 answers


I would recommend SlimDX



+3


source


I am curious to know why you are firing XNA. Can you elaborate on what exactly you are trying to do and why connecting to Windows Forms is so important - and why it doesn't work? My suggestion was to at least try to stick with XNA - it seems like it is going nowhere but up and it seems really slippery from what I've seen. I've researched various reasons why you feel like you can't use XNA and see if you can solve them somehow.



But it's also quite possible that I don't understand what you are trying to do. If so, my apologies!

+1


source


Dragging is just a wrap around movement when the mouse is down, and it's certainly easy enough to do. I'm also wondering what window shapes have, which you can't do in XNA (other than the obvious drawing of UI windows, which you can do in XNA just not for the main window).

+1


source


You can try Managed DirectX (MDX is going into "unsupported" territory there), SlimDX , or even WPF 3D ...

0


source


If you're just using SpriteBatch it won't be difficult to create a compatible API in Windows Forms, but if you want to do 3D or shaders it will be much more difficult.

0


source







All Articles