Click here to Skip to main content
15,908,776 members

Comments by Member 13230900 (Top 1 by date)

Member 13230900 2-Jun-17 4:55am View    
i want to called one method which is in another class and that method is taking some path which is having some big files to parse in background. So the point is, my BW is not working... when i am calling my method(takePath) in DoWork function.

void m_Worker_DoWork(object sender, DoWorkEventArgs e)
		{
            // If the user clicks cancel the line
            // m_AsyncWorker.CancelAsync(); if ran above. This sets the 
            //CancellationPending to true.
            //You must check this flag in here and react to it. We react to it by setting 
            //e.Cancel to true and leaving
            textParseFile.takePath();
                }
this is short lines of my code....! it's showing error, there is no argument given correspods to required formal parameter 'sender' of textParseFile.takePath(obj, DOWorkEvents)