R
Rob Brooks
Hi,
I'm going some drawing via "Graphics" in a "Paint" callback and the commands
will only manifest themselves if I minimise the window and then maximise it
again.
I'm new to windows programming and so I am obviously missing a lot of the
basics when it comes to this sort of thing but my mandate is to get a
utility up and running ASAP.
What's the magic function call I'm missing?
Many thanks,
R.
private void PictureBox_Paint(object sender,
System.Windows.Forms.PaintEventArgs e)
{
Graphics graphics = e.Graphics;
System.Drawing.Pen pen = new Pen( System.Drawing.Color.White );
graphics.DrawPath( pen, graphicsPath1 );
}
I'm going some drawing via "Graphics" in a "Paint" callback and the commands
will only manifest themselves if I minimise the window and then maximise it
again.
I'm new to windows programming and so I am obviously missing a lot of the
basics when it comes to this sort of thing but my mandate is to get a
utility up and running ASAP.
What's the magic function call I'm missing?
Many thanks,
R.
private void PictureBox_Paint(object sender,
System.Windows.Forms.PaintEventArgs e)
{
Graphics graphics = e.Graphics;
System.Drawing.Pen pen = new Pen( System.Drawing.Color.White );
graphics.DrawPath( pen, graphicsPath1 );
}