Why do I keep getting: "Dipose(bool): no suitable method found to override"

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have a very, very basic (non-form) .cs file and Im trying to add a Windows Form to the project so I go to Project --> Add Windows Form.

After naming the form and trying to compile I get the error:

"GNotifyAddon.GNotifyConfigWindow.Dipose(bool)": no suitable method found to override

I have an example project that I am trying to copy and I noticed that code behind the examples form has "public class FuryWarrior" but mine says "partial class GNotifyConfigWindow"  (ignore the actual class names).

Ive tried changing "partial" to "public" but then I either get the same dispose error message or I get a message about another class having the same name... (my project only has two files so that is impossible)

What am I doing wrong?

How can I add a Windows Form to an existing project?

By the way, Im creating a .DLL file (Class Library?) in case that matters...



View the full article
 


Write your reply...
Back
Top