I'm trying to get a library I found for using XNA textures on a Windows Form to work. I had it working in a datagridview, but now I'm trying to do the same thing on the windows form itself and I'm running into problems as I'm a novice C# programmer.
Here's what I've got so far:
private
{
ManageTreeview();
}
System.Windows.Forms.
e.Graphics.DrawImage(img,
The refresh button just calls the repainting done in MainForm_Paint. I haven't the foggiest clue however as to how I get my img to paint on the form. The this.CreateGraphics() doesn't seem to be doing anything, and I tried this.Invalidate, but that didn't seem to do anything either.