I have a game in XNA, I want to connect this game with WindowForm to show for example the distance and the position.
I tried to apply many tutorials that talking about this. but here is my problem :
It's empty!! How can I show my game.
I think my problem is here :
using Microsoft.Xna.Framework;
namespace MissileProject.CustomForms
{
public class MissileDisplay : WinFormsGraphicsDevice.GraphicsDeviceControl
{
protected override void Initialize()
{
}
protected override void Draw()
{
GraphicsDevice.Clear(Color.CornflowerBlue);
}
}
}
Any help or advice please ?