Click here to Skip to main content
15,910,083 members
Home / Discussions / C#
   

C#

 
Questiondefault email client Pin
ppp0011-Dec-05 4:47
ppp0011-Dec-05 4:47 
AnswerRe: default email client Pin
Curtis Schlak.1-Dec-05 14:47
Curtis Schlak.1-Dec-05 14:47 
QuestionGroups in Active Directory Pin
zaboboa1-Dec-05 4:06
zaboboa1-Dec-05 4:06 
AnswerRe: Groups in Active Directory Pin
Jared Parsons1-Dec-05 7:53
Jared Parsons1-Dec-05 7:53 
QuestionMultithreading Question Pin
akyriako781-Dec-05 2:09
akyriako781-Dec-05 2:09 
AnswerRe: Multithreading Question Pin
S. Senthil Kumar1-Dec-05 3:37
S. Senthil Kumar1-Dec-05 3:37 
GeneralRe: Multithreading Question Pin
akyriako781-Dec-05 6:13
akyriako781-Dec-05 6:13 
GeneralRe: Multithreading Question Pin
Jared Parsons1-Dec-05 7:55
Jared Parsons1-Dec-05 7:55 
You can also shorten up the second one a bit. It avoids the overhead of an extra object creation and delegate call.

2.) Using an anonymous method and MethodInvoker:

...
public void SomeMethodRunningInDiffirentThread()
{
...
this.Invoke((MethodInvoker)delegate()
{
UpdateUI2();
}
));
...
}


Jared Parsons
jaredp@beanseed.org
http://spaces.msn.com/members/jaredp/
QuestionHow to access a configuration file in a COM add-in Pin
cathignol1-Dec-05 1:36
cathignol1-Dec-05 1:36 
QuestionHow to copy file from a server to the other when other server is in different domain!!!! Pin
sammi19761-Dec-05 1:33
sammi19761-Dec-05 1:33 
AnswerRe: How to copy file from a server to the other when other server is in different domain!!!! Pin
Colin Angus Mackay1-Dec-05 4:19
Colin Angus Mackay1-Dec-05 4:19 
Questiondouble buffering Pin
bwagz1-Dec-05 1:32
bwagz1-Dec-05 1:32 
AnswerRe: double buffering Pin
mcljava2-Dec-05 8:26
mcljava2-Dec-05 8:26 
Questionwindow handle in .net Pin
ramenk1-Dec-05 1:18
ramenk1-Dec-05 1:18 
AnswerRe: window handle in .net Pin
S. Senthil Kumar1-Dec-05 3:13
S. Senthil Kumar1-Dec-05 3:13 
AnswerRe: window handle in .net Pin
Dave Kreskowiak1-Dec-05 6:30
mveDave Kreskowiak1-Dec-05 6:30 
Question.NET Deployment(embed msi in msi) Pin
sameerbhise.pspl1-Dec-05 1:03
sameerbhise.pspl1-Dec-05 1:03 
AnswerRe: .NET Deployment(embed msi in msi) Pin
Curtis Schlak.1-Dec-05 15:43
Curtis Schlak.1-Dec-05 15:43 
QuestionGetting the size of an object Pin
MrEyes1-Dec-05 0:42
MrEyes1-Dec-05 0:42 
AnswerRe: Getting the size of an object Pin
Dave Kreskowiak1-Dec-05 6:29
mveDave Kreskowiak1-Dec-05 6:29 
AnswerRe: Getting the size of an object Pin
Andy Brummer1-Dec-05 8:08
sitebuilderAndy Brummer1-Dec-05 8:08 
GeneralRe: Getting the size of an object Pin
MrEyes1-Dec-05 23:01
MrEyes1-Dec-05 23:01 
Questionchange background of console Pin
lucluv1-Dec-05 0:40
lucluv1-Dec-05 0:40 
AnswerRe: change background of console Pin
Rob Philpott1-Dec-05 1:09
Rob Philpott1-Dec-05 1:09 
AnswerRe: change background of console Pin
Rob Philpott1-Dec-05 1:14
Rob Philpott1-Dec-05 1:14 

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.