Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: Having Problem with small Function Pin
Dave Kreskowiak15-Aug-12 8:14
mveDave Kreskowiak15-Aug-12 8:14 
GeneralRe: Having Problem with small Function Pin
computerpublic15-Aug-12 9:06
computerpublic15-Aug-12 9:06 
GeneralRe: Having Problem with small Function Pin
Wes Aday15-Aug-12 9:43
professionalWes Aday15-Aug-12 9:43 
GeneralRe: Having Problem with small Function Pin
harold aptroot15-Aug-12 10:20
harold aptroot15-Aug-12 10:20 
AnswerRe: Having Problem with small Function PinPopular
Bernhard Hiller15-Aug-12 22:54
Bernhard Hiller15-Aug-12 22:54 
AnswerRe: Having Problem with small Function Pin
DaveyM6916-Aug-12 1:37
professionalDaveyM6916-Aug-12 1:37 
QuestionDelegate w/ Lambda Pin
Herrwolf115-Aug-12 4:43
Herrwolf115-Aug-12 4:43 
AnswerRe: Delegate w/ Lambda Pin
BobJanova15-Aug-12 5:04
BobJanova15-Aug-12 5:04 
This seems homeworky but since you could just whip it through an autotranslater anyway, here you go:

delegate void SetStatus(string text);

private void SetStatusStrip(string text){
 Invoke(text => {
     // do some work
   }, new object[] { text } );  
}


I think that's right. Invoke is a bit sniffy sometimes, you might need to cast the lambda, but I don't think so. Although it seems like the VB method you're generating for the delegate doesn't actually use a parameter so there's no reason you need to use that delegate for the inner method.
GeneralRe: Delegate w/ Lambda Pin
Eddy Vluggen15-Aug-12 5:19
professionalEddy Vluggen15-Aug-12 5:19 
GeneralRe: Delegate w/ Lambda Pin
Herrwolf115-Aug-12 8:54
Herrwolf115-Aug-12 8:54 
AnswerRe: Delegate w/ Lambda Pin
Dave Doknjas15-Aug-12 10:21
Dave Doknjas15-Aug-12 10:21 
GeneralRe: Delegate w/ Lambda Pin
Herrwolf115-Aug-12 10:54
Herrwolf115-Aug-12 10:54 
QuestionSending SMS through ASP.NET Pin
komalridda14-Aug-12 20:00
komalridda14-Aug-12 20:00 
AnswerRe: Sending SMS through ASP.NET Pin
OriginalGriff14-Aug-12 20:42
mveOriginalGriff14-Aug-12 20:42 
AnswerCross Post Pin
DaveyM6914-Aug-12 23:24
professionalDaveyM6914-Aug-12 23:24 
AnswerRe: Sending SMS through ASP.NET Pin
Keith Barrow15-Aug-12 2:08
professionalKeith Barrow15-Aug-12 2:08 
QuestionSave Excel File Pin
Member 916988714-Aug-12 15:21
Member 916988714-Aug-12 15:21 
AnswerRe: Save Excel File Pin
Dave Kreskowiak14-Aug-12 18:13
mveDave Kreskowiak14-Aug-12 18:13 
AnswerRe: Save Excel File Pin
Eddy Vluggen15-Aug-12 1:23
professionalEddy Vluggen15-Aug-12 1:23 
QuestionAbout SerialPort Pin
SODMi14-Aug-12 15:18
SODMi14-Aug-12 15:18 
AnswerRe: About SerialPort Pin
Roger Wright14-Aug-12 20:08
professionalRoger Wright14-Aug-12 20:08 
QuestionWeb Scraping XML file Pin
mjackson1114-Aug-12 8:23
mjackson1114-Aug-12 8:23 
AnswerRe: Web Scraping XML file PinPopular
PIEBALDconsult14-Aug-12 9:53
mvePIEBALDconsult14-Aug-12 9:53 
GeneralRe: Web Scraping XML file Pin
Dave Kreskowiak14-Aug-12 18:10
mveDave Kreskowiak14-Aug-12 18:10 
GeneralRe: Web Scraping XML file Pin
PIEBALDconsult15-Aug-12 3:26
mvePIEBALDconsult15-Aug-12 3:26 

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.