How can I lock panel without repaint all component.