Click here to Skip to main content
15,894,180 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application Opening again and again Pin
Giorgi Dalakishvili11-Nov-09 19:06
mentorGiorgi Dalakishvili11-Nov-09 19:06 
AnswerRe: Application Opening again and again Pin
Luc Pattyn12-Nov-09 2:46
sitebuilderLuc Pattyn12-Nov-09 2:46 
Questionclick combobox open windows form with datagridview Pin
vikas shukla11-Nov-09 18:28
vikas shukla11-Nov-09 18:28 
AnswerMessage Closed Pin
11-Nov-09 18:35
stancrm11-Nov-09 18:35 
GeneralRe: click combobox open windows form with datagridview Pin
vikas shukla11-Nov-09 20:25
vikas shukla11-Nov-09 20:25 
QuestionMarshalling array segment from C# to C++ Pin
dybs11-Nov-09 18:18
dybs11-Nov-09 18:18 
AnswerRe: Marshalling array segment from C# to C++ [SOLVED] Pin
dybs12-Nov-09 18:47
dybs12-Nov-09 18:47 
Questionhow to abort the running multi Thread Pin
scoket11-Nov-09 16:46
scoket11-Nov-09 16:46 
my programe base on WinForm.
It has two buttons,one is "start" the other is "stop".
now i click the "start" button it will excute the code as below:

public void Polling()
{
try
{
...........
Thread[] mythread = new Thread[Count];
for (int i=0; i <Count;i ++)
{
mythread[i] = new Thread(new ParameterizedThreadStart(gatherOnlineTime));
....................
mythread[i].Start(obj);
}

}
catch
{
..............
}
}

now i want to click the button of "stop" to abort the running thread.
how to do it?
Any help will be appreciated!
AnswerMessage Closed Pin
11-Nov-09 18:15
stancrm11-Nov-09 18:15 
GeneralRe: how to abort the running multi Thread Pin
scoket11-Nov-09 19:28
scoket11-Nov-09 19:28 
AnswerRe: how to abort the running multi Thread Pin
Shameel11-Nov-09 22:34
professionalShameel11-Nov-09 22:34 
QuestionACOS3 -24 card reading Pin
AnasChavadi11-Nov-09 16:36
AnasChavadi11-Nov-09 16:36 
AnswerRe: ACOS3 -24 card reading Pin
Dave Kreskowiak11-Nov-09 16:52
mveDave Kreskowiak11-Nov-09 16:52 
QuestionComments for your code.. generating MSDN style files Pin
Jacob Dixon11-Nov-09 15:24
Jacob Dixon11-Nov-09 15:24 
AnswerRe: Comments for your code.. generating MSDN style files Pin
Christian Graus11-Nov-09 15:36
protectorChristian Graus11-Nov-09 15:36 
GeneralRe: Comments for your code.. generating MSDN style files Pin
PIEBALDconsult11-Nov-09 16:48
mvePIEBALDconsult11-Nov-09 16:48 
GeneralRe: Comments for your code.. generating MSDN style files Pin
Shameel11-Nov-09 22:37
professionalShameel11-Nov-09 22:37 
GeneralRe: Comments for your code.. generating MSDN style files Pin
PIEBALDconsult12-Nov-09 4:09
mvePIEBALDconsult12-Nov-09 4:09 
GeneralRe: Comments for your code.. generating MSDN style files Pin
Jacob Dixon12-Nov-09 3:06
Jacob Dixon12-Nov-09 3:06 
AnswerRe: Comments for your code.. generating MSDN style files Pin
Not Active11-Nov-09 17:01
mentorNot Active11-Nov-09 17:01 
GeneralRe: Comments for your code.. generating MSDN style files Pin
Jacob Dixon12-Nov-09 3:07
Jacob Dixon12-Nov-09 3:07 
AnswerMessage Closed Pin
11-Nov-09 18:38
stancrm11-Nov-09 18:38 
GeneralRe: Comments for your code.. generating MSDN style files Pin
Jacob Dixon12-Nov-09 3:00
Jacob Dixon12-Nov-09 3:00 
QuestionDataGridView Pin
Illegal Operation11-Nov-09 13:18
Illegal Operation11-Nov-09 13:18 
AnswerRe: DataGridView Pin
Christian Graus11-Nov-09 13:45
protectorChristian Graus11-Nov-09 13:45 

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.