Error message when switchign between designer and code view

When I first load my form in the designer it looks okay but if I switch to code view and then back to the designer I get the following error messge:

Warning 1 The service System.Windows.Forms.Design.IEventHandlerService already exists in the service container.
Parameter name: serviceType

To get rid of the message I have to close the designer window and then reopen it.

Any ideas

Chris Holland




Answer this question

Error message when switchign between designer and code view

  • LarryBB

    Deleting the BIN and the OBJ directory and doing a Clean and Rebuild solution seemds to have sorted the problem

    Chris



  • Error message when switchign between designer and code view