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

C#

 
QuestionIs there any solution to run PowerShell 1.0 in C# remotely? Pin
Julia10058-Dec-08 5:38
Julia10058-Dec-08 5:38 
QuestionDataset.ReadXML Pin
ndroo8828-Dec-08 4:14
ndroo8828-Dec-08 4:14 
AnswerRe: Dataset.ReadXML Pin
ndroo8829-Dec-08 2:21
ndroo8829-Dec-08 2:21 
Questioneach button click starting a new thread Pin
lane0p28-Dec-08 4:11
lane0p28-Dec-08 4:11 
GeneralRe: each button click starting a new thread Pin
Pr@teek B@h!8-Dec-08 5:49
Pr@teek B@h!8-Dec-08 5:49 
GeneralRe: each button click starting a new thread Pin
lane0p28-Dec-08 7:35
lane0p28-Dec-08 7:35 
GeneralRe: each button click starting a new thread Pin
User 66588-Dec-08 7:56
User 66588-Dec-08 7:56 
GeneralRe: each button click starting a new thread Pin
Mark Salsbery8-Dec-08 7:56
Mark Salsbery8-Dec-08 7:56 
The error message explains it...

The ThreadStart delegate looks like this:
public delegate void ThreadStart()

Are you looking for something like this?
private void button1_Click(object sender, eventArgs e)
{
    thrd_1 = new Thread(new ThreadStart(button1_Clickthread));
    thrd_1.start()
}


private void button1_Clickthread()
{
    things to do 1
    things to do 2
}


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Questionanimation Pin
vivekduneja8-Dec-08 2:48
vivekduneja8-Dec-08 2:48 
AnswerRe: animation Pin
Pete O'Hanlon8-Dec-08 2:52
mvePete O'Hanlon8-Dec-08 2:52 
AnswerRe: animation Pin
Brij8-Dec-08 2:52
mentorBrij8-Dec-08 2:52 
AnswerRe: animation Pin
_Maxxx_8-Dec-08 17:18
professional_Maxxx_8-Dec-08 17:18 
QuestionHow to monitor user actions Pin
Fadi Yoosuf8-Dec-08 2:28
Fadi Yoosuf8-Dec-08 2:28 
AnswerRe: How to monitor user actions Pin
leppie8-Dec-08 2:30
leppie8-Dec-08 2:30 
GeneralRe: How to monitor user actions Pin
Fadi Yoosuf8-Dec-08 2:38
Fadi Yoosuf8-Dec-08 2:38 
GeneralRe: How to monitor user actions Pin
Harvey Saayman8-Dec-08 2:48
Harvey Saayman8-Dec-08 2:48 
AnswerRe: How to monitor user actions Pin
Giorgi Dalakishvili8-Dec-08 2:53
mentorGiorgi Dalakishvili8-Dec-08 2:53 
GeneralRe: How to monitor user actions Pin
Fadi Yoosuf12-Dec-08 6:47
Fadi Yoosuf12-Dec-08 6:47 
GeneralRe: How to monitor user actions Pin
Giorgi Dalakishvili12-Dec-08 8:01
mentorGiorgi Dalakishvili12-Dec-08 8:01 
Questioninstantiating winform by getting the formname through string?? Pin
Ron.S8-Dec-08 1:59
Ron.S8-Dec-08 1:59 
AnswerRe: instantiating winform by getting the formname through string?? Pin
PIEBALDconsult8-Dec-08 2:11
mvePIEBALDconsult8-Dec-08 2:11 
AnswerRe: instantiating winform by getting the formname through string?? Pin
Giorgi Dalakishvili8-Dec-08 2:54
mentorGiorgi Dalakishvili8-Dec-08 2:54 
QuestionThe Noisy Screen Saver Pin
max292978-Dec-08 1:52
max292978-Dec-08 1:52 
AnswerRe: The Noisy Screen Saver Pin
Simon P Stevens8-Dec-08 2:01
Simon P Stevens8-Dec-08 2:01 
GeneralRe: The Noisy Screen Saver Pin
max292978-Dec-08 8:43
max292978-Dec-08 8:43 

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.