I am sorry but i did not understand.
which control i need to create in OnCreateControl method and where do i override the OnCreateControl? the panel or the conrtol?