i can't get the control visible property to change accordingly to my set value in code, and it looks ugly:
htmlLabel1.Visible = false;
htmlLabel2.Visible = true;
path = s;
if (Path.GetExtension(s) == ".iso")
check = CalculateChecksum(s);
The Invalidate() method will cause the controls Paint event to fire (forcing the control to be redrawn).
Invalidates the entire surface of the control and causes the control to be redrawn.