1
Answer

Paint Event

Ask a question
VNT

VNT

19y
2.1k
1
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

Answers (1)
Next Recommended Forum