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

  • Thread starter Thread starter Vinlaen
  • Start date Start date
V

Vinlaen

Guest
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...

Continue reading...
 
Back
Top