I just solved this on my own, thought I'd post what I changed in case anyone else has this problem.
I moved the code from the form load event to immediately after the InitializeComponent() line. Now the combobox populates in about 1.5 seconds.
For future reference, if you're doing a cluster update like this, before you populate the control you should set Enabled = false; as it (stops it firing events) and SuspendLayout (if you're changing any control layout properties) do your updates and then call ResumeLayout and set Enabled = true; for the control.
I'm guessing that you had an event attached to your combo box causing it to fire everytime you added a value?
I have two events attached - KeyDown and SelectedIndexChanged. You're thinking one of these events was probably firing each time an item was added to the combobox? I saw somewhere where the combobox has to redraw itself every time an item is added and that slows it way down; their solution was to move the combobox population into the form constructor, which is what I did.
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...