The winforms tag has no usage guidance.
0
votes
0answers
11 views
Monogame and winforms - drag and drop images
So I managed to create the form design of my level editor and I embedded Monogame in it using the GraphicsDevice sample. Then I used the PrimitiveBatch sample to draw a black grid 32x32 pixels. Here's ...
1
vote
1answer
22 views
Strange anomalies when using WinForms with XNA
I haven't seen any questions related to my issue, and this leads me to believe I'm missing something minor, however;
The Problem
I'm creating a game that is effectively launched from a windows form. ...
0
votes
1answer
29 views
Arrow key control on winforms RichTextBox
I am making a faux console using winforms for the game I am working on. Right now I am moving a '0' across the screen using the arrow keys.
In order to provide fine grain formatting on the text, I ...
0
votes
0answers
72 views
AttachThreadInput and PeekMessage Threading
I have a problem with AttachThreadInput and PeekMessage from User32.dll while multithreading. PeekMessage is not returning true in any case.
I am designing a Windows Form that uses OpenGL rendering ...
1
vote
2answers
227 views
Spritebatch not working in winforms
I'm using the Winforms sample on the app hub and everything is working fine except my spritebatch won't draw anything unless I call Invalidate in the Draw method. I have this in my initialize method:
...
0
votes
0answers
25 views
Invalidate not working (winforms & xna) [duplicate]
I'm using winforms with xna.
Everything's working so far except for the drawing because invalidate won't refresh the screen unless repeated. This is the initial code I had:
protected ...
0
votes
1answer
265 views
Problems when randomizing x and y position of a picturebox [closed]
So, I'm making a simple game. It's like snake but the picturebox doesn't grow. In the game, you have to get fruits and other objects.
Look at berry's code:
public class Berry : PictureBox
{
...
1
vote
2answers
1k views
Winform + XNA (Microsoft Example) - Issues with Drawing Texture2D
Before I get started I would just like to say that I have been using the Microsoft Winform + Xna examples found here:
WinForms Series 1: Graphics Device
I think I somewhat understand how its working ...
1
vote
2answers
193 views
Set vertex position
Can anyone tell me how to set the positions of model vertices? I want to be able to change the position of some of the vertices of a Model. Is there any way to make that happen? And make the changed ...