Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
QuestionDebug error " 'Method' is a 'variable' but is used like a 'method'" Pin
asafbs200416-May-08 4:39
asafbs200416-May-08 4:39 
AnswerRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
PIEBALDconsult16-May-08 5:40
mvePIEBALDconsult16-May-08 5:40 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
asafbs200416-May-08 6:03
asafbs200416-May-08 6:03 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
PIEBALDconsult16-May-08 9:38
mvePIEBALDconsult16-May-08 9:38 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
asafbs200416-May-08 12:17
asafbs200416-May-08 12:17 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
PIEBALDconsult16-May-08 18:28
mvePIEBALDconsult16-May-08 18:28 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
asafbs200417-May-08 0:18
asafbs200417-May-08 0:18 
AnswerRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
PIEBALDconsult17-May-08 7:12
mvePIEBALDconsult17-May-08 7:12 
OK, I've given this more thought.

Your form will define a method that matches the MethodDEL delegate?
And you then want to pass that method to this method for execution?

A) I see little point in this method, the form can simply create and start the thread itself.

B) Don't pass the name of the method, pass the delegate, that's what delegates are for.

C) If you really want to pass the name of the method to execute, you'll also need to pass a reference to the form.
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
asafbs200417-May-08 7:59
asafbs200417-May-08 7:59 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
PIEBALDconsult17-May-08 8:28
mvePIEBALDconsult17-May-08 8:28 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
PIEBALDconsult17-May-08 9:02
mvePIEBALDconsult17-May-08 9:02 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
asafbs200417-May-08 12:34
asafbs200417-May-08 12:34 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
asafbs200417-May-08 12:50
asafbs200417-May-08 12:50 
GeneralRe: Debug error " 'Method' is a 'variable' but is used like a 'method'" Pin
PIEBALDconsult17-May-08 13:59
mvePIEBALDconsult17-May-08 13:59 
QuestionDifference between an EXE and DLL Pin
jdkulkarni16-May-08 3:31
jdkulkarni16-May-08 3:31 
AnswerRe: Difference between an EXE and DLL Pin
originSH16-May-08 3:48
originSH16-May-08 3:48 
AnswerRe: Difference between an EXE and DLL Pin
Brady Kelly16-May-08 3:53
Brady Kelly16-May-08 3:53 
QuestionError in buliding installer? Pin
Ibuprofen16-May-08 2:48
Ibuprofen16-May-08 2:48 
QuestionUrgent : Save/Cancel popup Pin
rockz...16-May-08 2:25
rockz...16-May-08 2:25 
AnswerRe: Urgent : Save/Cancel popup Pin
Christian Graus16-May-08 2:27
protectorChristian Graus16-May-08 2:27 
GeneralRe: Urgent : Save/Cancel popup Pin
Christian Wikander16-May-08 2:31
Christian Wikander16-May-08 2:31 
Questionthread safety in ManualResetEvent Pin
George_George16-May-08 2:13
George_George16-May-08 2:13 
AnswerRe: thread safety in ManualResetEvent Pin
N a v a n e e t h16-May-08 2:47
N a v a n e e t h16-May-08 2:47 
GeneralRe: thread safety in ManualResetEvent Pin
George_George16-May-08 3:02
George_George16-May-08 3:02 
AnswerRe: thread safety in ManualResetEvent Pin
carbon_golem16-May-08 3:56
carbon_golem16-May-08 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.