Not sure how else to explain it.

Here's the problem:

I have a class library.
I call one of the functions in the class library from my regular app.
It creates a new form (which is part of the class library).

The function that handles spawning the window initiates a method on that class library form that "should" draw on the picture box that's inside of the class library form, but it doesn't.

For testing purposes, I tried switching the background color of the picture box when it loads. This DID work. However when I use the Graphics object, it doesn't get triggered.

Here's the code I'm using to do the actual drawing:

Code:
public void DrawText()
{
            Graphics g = CreateGraphics();
            SolidBrush textBrush = new SolidBrush(Color.White);
            Font textFont = new Font("Arial", 12F);

            g.DrawString(defaultValue, textFont, textBrush, 0f, 0f);
            
            g.Dispose();
            textBrush.Dispose();
            textFont.Dispose();
}
I tried every variant I could think of.

ie. Graphics g = picBox.CreateGraphics()

etc..

Why isn't this working?