From VSIP Diaries…

The Editor Factory implementations, in MPF based VS SDK editor sample and wizard generated code, improperly construct the ServiceProvider members. This causes calls to GetService to give back unexpected results. For e.g if you ask for SVsFrameWindow service it will always return the last created frame, instead of the frame each window pane is sited on….