I am using the following code in an attempt to draw on an image inside a picture box, however the changes are not rendering on the form itself.
private void pictureBox1_Paint(object sender, PaintEventArgs e)
{
if (drawMode)
{
Graphics g = Graphics.FromImage(pictureBox1.Image);
RectangleF rectf = new RectangleF(10, 10, 100, 100);
g.SmoothingMode = SmoothingMode.AntiAlias;
g.InterpolationMode = InterpolationMode.HighQualityBicubic;
g.PixelOffsetMode = PixelOffsetMode.HighQuality;
g.DrawString("yourText", new Font("Tahoma", 22), Brushes.Green, rectf);
g.Flush();
....
EDIT: Code is now in the PaintEventHandler for the picturebox1 object.