Normally, I would always put the controls into a different project, too.
I just put the form and the control into the same project in this case, to see, if it made a difference.
If I put the control and form into two different projects, the problem is the same.
I can rebuild the whole solution or rebuild both projects independently - nothing helps.
Closing all windows in VS doesn't help.
Even closing the solution and reopening it, does not help.
I really have to close Visual Studio and restart it, to get the new drop down list in the designer.
Now, I have tried to change the implementation of GetStandardValues, building the list like this:
list.Add(
DateTime.Now.ToString());
list.Add(DateTime.Now.ToString());
list.Add(DateTime.Now.ToString());
When using this implementation (after having restarted VS :-) ), I can see, that the content of the drop-down list is actually updated on each drop down. This shows, that GetStandardValues is actually called each time, i.e. the list itself is not cached - but it must be the code, that is cached by VS somehow???