Use the SuspendLayout() and ResumeLayout() methods of the form. I'd also use it for the panel itself. E.g.
//-- Code that adds controls in method of the form.
ThemedPanel myPanel = new ThemedPanel();
this.SuspendLayout();
myPanel.SuspendLayout();
//-- add controls....
myPanel.ResumeLayout();
this.ResumeLayout();