Windows Forms is a graphical API of Microsoft .NET Framework, a wrapper providing access to native Microsoft Windows interface elements.
5
votes
4answers
653 views
Game Editor - When screen is clicked, how do you identify which object that is clicked?
I'm trying to create a Game Editor, currently just placing different types of Shapes and such. I'm doing this in Windows Forms while drawing the 3D with XNA. So, if I have a couple of Shapes on the ...
3
votes
1answer
936 views
XNA mouse position in windows forms
I am using this code in Update method in XNA RenderControl in Windows Forms:
...
Mouse.WindowHandle = renderControl1.Handle;
MouseState stat=Mouse.GetState();
...
Everything works fine but when I ...
0
votes
2answers
173 views
Windows Form code not executing?
Ok, I've got a weird one here. I'm trying to make a basic tile engine using a windows form, but some of my code is just...not happening. I'll post the chunks in question.
private void ...