internal void CreateChilds(DesignerWithMapPath designer) { this.Controls.Clear(); this.CreateChildControls(); for (int i = 0; i < Controls.Count; i++) { CommonButton button = Controls[i] as CommonButton; if (button != null) { button.CreateChilds(designer); } } }