Jump to content
Xtreme .Net Talk

Error message - I really dont know what it means


Recommended Posts

Posted

Can anyone tell me what does it mean?

It come out on Build Error Message.. after I press F5...

 

C:\Project\FileCopier\Form1.cs(245): 'FileCopier.Form1.Dispose()' : cannot override inherited member 'System.ComponentModel.Component.Dispose()' because it is not marked virtual, abstract, or override

 

How do I overcome it? So program can run smoothly

Posted

ok here is the code

 


/// 
	protected override void Dispose( bool disposing )
	{
		if( disposing )
		{
			if (components != null) 
			{
				components.Dispose();
			}
		}
		base.Dispose( disposing );
	}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...