Click here to Skip to main content
16,015,177 members
Home / Discussions / C#
   

C#

 
AnswerRe: Event when window is minimizex/maximized Pin
quiteSmart10-Dec-06 20:04
quiteSmart10-Dec-06 20:04 
AnswerRe: Event when window is minimizex/maximized Pin
Bhupi Bhai10-Dec-06 20:31
Bhupi Bhai10-Dec-06 20:31 
QuestionAccess ToolStripMenuItem [modified] Pin
Tomy140210-Dec-06 15:36
Tomy140210-Dec-06 15:36 
AnswerRe: Access ToolStripMenuItem Pin
teejayem11-Dec-06 16:11
teejayem11-Dec-06 16:11 
GeneralRe: Access ToolStripMenuItem Pin
Tomy140211-Dec-06 16:18
Tomy140211-Dec-06 16:18 
QuestionTo know more about C# Pin
Dawit Bahre10-Dec-06 15:36
Dawit Bahre10-Dec-06 15:36 
AnswerRe: To know more about C# Pin
Paul Conrad10-Dec-06 15:57
professionalPaul Conrad10-Dec-06 15:57 
Questionrecurse an anonymous method Pin
urbane.tiger10-Dec-06 13:33
urbane.tiger10-Dec-06 13:33 
Is there an "approved" means of recursing an anonymous method, I spent most Sunday reading the C# language spec and other resources, and couldn't see anything. Recursion is one of the more common reasons for me writing a method that is only referenced once, so anonymizing them is attractive.

The only means I could devise was to have the method grab itself off the stack and use MethodBase Invoke to invoke itself eg

new StackTrace().GetFrame(0).GetMethod().Invoke(newTarget)

It works, but it's not pretty - Ta PhilD

AnswerRe: recurse an anonymous method Pin
Judah Gabriel Himango10-Dec-06 13:41
sponsorJudah Gabriel Himango10-Dec-06 13:41 
GeneralRe: recurse an anonymous method Pin
urbane.tiger10-Dec-06 14:26
urbane.tiger10-Dec-06 14:26 
GeneralRe: recurse an anonymous method Pin
Judah Gabriel Himango10-Dec-06 14:29
sponsorJudah Gabriel Himango10-Dec-06 14:29 
GeneralRe: recurse an anonymous method Pin
urbane.tiger10-Dec-06 14:43
urbane.tiger10-Dec-06 14:43 
GeneralRe: recurse an anonymous method Pin
Judah Gabriel Himango10-Dec-06 14:50
sponsorJudah Gabriel Himango10-Dec-06 14:50 
AnswerRe: recurse an anonymous method Pin
Guffa10-Dec-06 18:11
Guffa10-Dec-06 18:11 
GeneralRe: recurse an anonymous method Pin
urbane.tiger11-Dec-06 16:06
urbane.tiger11-Dec-06 16:06 
GeneralRe: recurse an anonymous method Pin
Guffa11-Dec-06 20:33
Guffa11-Dec-06 20:33 
GeneralRe: recurse an anonymous method Pin
urbane.tiger12-Dec-06 14:57
urbane.tiger12-Dec-06 14:57 
AnswerRe: recurse an anonymous method Pin
Guffa12-Dec-06 21:11
Guffa12-Dec-06 21:11 
GeneralRe: recurse an anonymous method Pin
urbane.tiger17-Dec-06 13:57
urbane.tiger17-Dec-06 13:57 
JokeRe: recurse an anonymous method Pin
Muammar©10-Dec-06 20:23
Muammar©10-Dec-06 20:23 
AnswerRe: recurse an anonymous method Pin
Judah Gabriel Himango9-Feb-07 8:11
sponsorJudah Gabriel Himango9-Feb-07 8:11 
GeneralRe: recurse an anonymous method Pin
urbane.tiger11-Feb-07 13:42
urbane.tiger11-Feb-07 13:42 
AnswerRe: Making a callback an instance member function... Pin
Judah Gabriel Himango10-Dec-06 13:36
sponsorJudah Gabriel Himango10-Dec-06 13:36 
QuestionBindingSource and DataSet Pin
mfcuser10-Dec-06 9:24
mfcuser10-Dec-06 9:24 
AnswerRe: BindingSource and DataSet Pin
User 171649210-Dec-06 13:28
professionalUser 171649210-Dec-06 13:28 

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.