Click here to Skip to main content
15,845,279 members
Home / Discussions / C#
   

C#

 
GeneralRe: When is it safe to use Monitor (lock) with Task? Pin
Bernhard Hiller18-Jan-17 22:05
Bernhard Hiller18-Jan-17 22:05 
AnswerRe: When is it safe to use Monitor (lock) with Task? Pin
Richard Deeming18-Jan-17 9:11
mveRichard Deeming18-Jan-17 9:11 
GeneralRe: When is it safe to use Monitor (lock) with Task? Pin
Bernhard Hiller18-Jan-17 22:11
Bernhard Hiller18-Jan-17 22:11 
GeneralRe: When is it safe to use Monitor (lock) with Task? Pin
Pete O'Hanlon18-Jan-17 22:15
subeditorPete O'Hanlon18-Jan-17 22:15 
QuestionGroup of Checkboxes Pin
eejaynic17-Jan-17 12:41
eejaynic17-Jan-17 12:41 
AnswerRe: Group of Checkboxes Pin
Gerry Schmitz17-Jan-17 14:02
mveGerry Schmitz17-Jan-17 14:02 
GeneralRe: Group of Checkboxes Pin
eejaynic17-Jan-17 15:11
eejaynic17-Jan-17 15:11 
GeneralRe: Group of Checkboxes Pin
Gerry Schmitz17-Jan-17 15:53
mveGerry Schmitz17-Jan-17 15:53 
If it's just a matter of knowing at any given time if any checkbox is checked, you can do the following:
C#
bool ok = cb1.Checked || cb2.Checked || cb3.Checked || etc.
if ok is true, then at least 1 checkbox was checked; you don't have to repeat the "if's" elsewhere.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal

AnswerRe: Group of Checkboxes Pin
Richard Deeming18-Jan-17 3:04
mveRichard Deeming18-Jan-17 3:04 
GeneralRe: Group of Checkboxes Pin
eejaynic18-Jan-17 10:03
eejaynic18-Jan-17 10:03 
QuestionCommunicating with unmanaged DLL Pin
Member 1041441717-Jan-17 3:43
Member 1041441717-Jan-17 3:43 
AnswerRe: Communicating with unmanaged DLL Pin
Midi_Mick17-Jan-17 4:19
professionalMidi_Mick17-Jan-17 4:19 
GeneralRe: Communicating with unmanaged DLL Pin
Member 1041441717-Jan-17 5:13
Member 1041441717-Jan-17 5:13 
AnswerRe: Communicating with unmanaged DLL Pin
Bernhard Hiller18-Jan-17 0:26
Bernhard Hiller18-Jan-17 0:26 
QuestionRe: Communicating with unmanaged DLL Pin
Member 1390693510-Jul-18 23:01
Member 1390693510-Jul-18 23:01 
QuestionGlade errors after launching debug Pin
Sascha Manns17-Jan-17 0:18
professionalSascha Manns17-Jan-17 0:18 
AnswerRe: Glade errors after launching debug [Solved] Pin
Sascha Manns17-Jan-17 6:41
professionalSascha Manns17-Jan-17 6:41 
QuestionImplementing Strategy Pattern Pin
Liagapi16-Jan-17 23:20
Liagapi16-Jan-17 23:20 
AnswerRe: Implementing Strategy Pattern Pin
Pete O'Hanlon16-Jan-17 23:46
subeditorPete O'Hanlon16-Jan-17 23:46 
GeneralRe: Implementing Strategy Pattern Pin
Liagapi17-Jan-17 0:22
Liagapi17-Jan-17 0:22 
GeneralRe: Implementing Strategy Pattern Pin
harold aptroot17-Jan-17 0:05
harold aptroot17-Jan-17 0:05 
GeneralRe: Implementing Strategy Pattern Pin
Liagapi17-Jan-17 3:25
Liagapi17-Jan-17 3:25 
AnswerRe: Implementing Strategy Pattern Pin
F-ES Sitecore17-Jan-17 0:18
professionalF-ES Sitecore17-Jan-17 0:18 
GeneralRe: Implementing Strategy Pattern Pin
Liagapi17-Jan-17 0:28
Liagapi17-Jan-17 0:28 
GeneralRe: Implementing Strategy Pattern Pin
Bernhard Hiller18-Jan-17 0:21
Bernhard Hiller18-Jan-17 0:21 

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.