Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

VC# 2010 Inherited Forms Will Not Display

$
0
0

I have two forms that inherit from the same base class. Each form is accessed by clicking a button on the base form. As of now clicking either button does nothing, and when I try to view the forms in the designer, neither open and I get the following errors interchangably.

To prevent possible data loss before loading the designer, the following errors must be resolved:

"Object reference not set to an instance of an object" or "The service System.Windows.Forms.Design.IEventHandlerService
already exists in the service containerParameter name: serviceType"

I have already tried wiping the OBJ and BIN folders, putting checks in the Form_Load method to see if design mode will load, and I made sure all the componets I inherit from in my base class are set to protected.

Anyone know any possible solutions?

Thanks


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>