public void PA_DoInvalidate() { lock (locker){ if (isMinimized) { return; } panel1.Invalidate(); } }
public void Redraw() { pnlCanvas.Invalidate(); }