Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
Questionhandle Pin
ammoh3-Nov-06 3:46
ammoh3-Nov-06 3:46 
AnswerRe: handle Pin
Judah Gabriel Himango3-Nov-06 6:24
sponsorJudah Gabriel Himango3-Nov-06 6:24 
Questiondelete error from database Pin
Ashraf zia3-Nov-06 3:45
Ashraf zia3-Nov-06 3:45 
AnswerRe: delete error from database Pin
Elina Blank3-Nov-06 3:49
sitebuilderElina Blank3-Nov-06 3:49 
AnswerRe: delete error from database Pin
Russell Jones3-Nov-06 3:51
Russell Jones3-Nov-06 3:51 
AnswerRe: delete error from database Pin
ednrgc3-Nov-06 5:02
ednrgc3-Nov-06 5:02 
Questiondesign issues multi threading Pin
ekynox3-Nov-06 3:03
ekynox3-Nov-06 3:03 
AnswerRe: design issues multi threading Pin
beatles16924-Nov-06 2:06
beatles16924-Nov-06 2:06 
Hi I think that you can have a class (for example Operation) that has a state property ( a readonly property) that gets the state of the operation.
Operation class has a ProcessData method that will be used in ThreadStart to start a thread and within this method the operation can change its state.
Using this approach , you can have unlimited operations (not only 5 or a known number of operations) and no one can change the state of a opration except an operation itself that means you don't have to be worry about locking you objects and finally there's no need to remember the index of an external array(when an operation wants to change its state)

Good Luck
GeneralRe: design issues multi threading Pin
ekynox8-Nov-06 15:58
ekynox8-Nov-06 15:58 
Questionprint array string's content into messagebox Pin
Yustme3-Nov-06 2:55
Yustme3-Nov-06 2:55 
AnswerRe: print array string's content into messagebox Pin
Guffa3-Nov-06 3:38
Guffa3-Nov-06 3:38 
QuestionSelect Resource Dialog Pin
Gomac3-Nov-06 2:41
Gomac3-Nov-06 2:41 
AnswerRe: Select Resource Dialog Pin
LongRange.Shooter3-Nov-06 7:57
LongRange.Shooter3-Nov-06 7:57 
QuestionCustom ObjectDataSource paging Pin
danidanidani3-Nov-06 2:21
danidanidani3-Nov-06 2:21 
Questionhow can i make runtime installer using C# .NET? Pin
Irfan Kothari3-Nov-06 1:53
Irfan Kothari3-Nov-06 1:53 
QuestionChanging a dataconnetion's connection string at runtime in vs2005 Pin
rzvme3-Nov-06 1:49
rzvme3-Nov-06 1:49 
AnswerRe: Changing a dataconnetion's connection string at runtime in vs2005 Pin
LongRange.Shooter3-Nov-06 8:04
LongRange.Shooter3-Nov-06 8:04 
QuestionMulticast Delegate Pin
Mairaaj Khan3-Nov-06 0:29
professionalMairaaj Khan3-Nov-06 0:29 
AnswerRe: Multicast Delegate Pin
rah_sin3-Nov-06 0:40
professionalrah_sin3-Nov-06 0:40 
GeneralRe: Multicast Delegate Pin
Mairaaj Khan3-Nov-06 0:46
professionalMairaaj Khan3-Nov-06 0:46 
GeneralRe: Multicast Delegate Pin
rah_sin3-Nov-06 0:52
professionalrah_sin3-Nov-06 0:52 
GeneralRe: Multicast Delegate Pin
Mairaaj Khan3-Nov-06 19:44
professionalMairaaj Khan3-Nov-06 19:44 
AnswerRe: Multicast Delegate Pin
Bijesh3-Nov-06 2:43
Bijesh3-Nov-06 2:43 
AnswerRe: Multicast Delegate Pin
ednrgc3-Nov-06 3:16
ednrgc3-Nov-06 3:16 
AnswerRe: Multicast Delegate Pin
mertkan656-Nov-06 22:11
mertkan656-Nov-06 22:11 

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.