wyrd
Well-known member
Theres an app Im programming that draws images on specific parts of the form. Im using labels to represent the areas and just drawing on to those by doing;
Graphics g = label.CreateGraphics();
g.DrawImage(...);
However whenever I minimize and then unminimize the form it leaves the labels blank as if clearing them. Or a menu simply drops down in front of a label then goes away, it leaves a cleared area of where that menu was.
Should I not be using labels or am I missing something? Im pretty sure I put code to refresh the label images in the Form_Paint method. *ponders* Maybe I should be putting it into the Label_Paint method..
Graphics g = label.CreateGraphics();
g.DrawImage(...);
However whenever I minimize and then unminimize the form it leaves the labels blank as if clearing them. Or a menu simply drops down in front of a label then goes away, it leaves a cleared area of where that menu was.
Should I not be using labels or am I missing something? Im pretty sure I put code to refresh the label images in the Form_Paint method. *ponders* Maybe I should be putting it into the Label_Paint method..