-
August 25th, 2010, 01:32 PM
#1
error:
Hi Guys,
My programming knowledge is not the best but i have come across a problem using backgroundworker this is the error i am seeing:
Error 1 'WindowsFormsApplication18.MBFilerecordord[] WindowsFormsApplication18.Form1.backgroundWorker1_DoWork(object, System.ComponentModel.DoWorkEventArgs)' has the wrong return type F:\FYP Program\24.08.2010\WindowsFormsApplication18\Form1.Designer.cs 42 46 WindowsFormsApplication18
line of code the error is highlighting:
this.backgroundWorker1.DoWork += new system.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
releated method:
public MBFilerecordord[] backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
blah blah blah blah
}
please could you help me figure out how to fix this im banging my head aginstr the wall done a fare bit of reading and still getting no where
thank you all in avance for any help
-
August 25th, 2010, 02:32 PM
#2
Re: error:
Tried F1 help?
Copied from the help page
Code:
public delegate void DoWorkEventHandler (
Object sender,
DoWorkEventArgs e
)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|