error:

Discussion in 'C#' started by fortune2k, Aug 28, 2010.

  1. fortune2k

    fortune2k New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice