Hi all,
I have a function DisplayIt() to draw something and use the Paint event or DisplayPanel_Paint() to call and display it.
However my Display() function is called at least 2 or more times.
- Why is that? and how do i prevent it?
private void DisplayPanel_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
DisplayIt();
}
Many thanks
Trevor