My application is starting up very slowly. Using a perfomance profiler, I've finally narrowed down the problem.
I have a form with a C1DockingTab. The tab contains numerous data bound fields, bound to a few different BindingSource(s). Each BindingSource is bound to either a C1DataSet/DataTable or a DataSet/Table.
With the profiler I noted that a lot of time was spent in the designer code for InitializeComponent in the Controls.Add(the tab).
After trying different things, I pulled all the databinding out of the designer code into a separate sub called after InitializeComponent.
I finally found that the first simple databinding line i.e. <control>.DataBindings.Add(...) for the tab is 20 seconds! I shifted databinding order around and found it is always the first, thus independent of BindingSource. I also found that a System.TabControl does not have this problem.
Has anyone else seen this?
I'd really like to use the C1DockingTab but not at this cost.
I am currently using version 2.0.20072.19209