Click here to Skip to main content
15,905,563 members
Home / Discussions / C#
   

C#

 
AnswerRe: Working with threads. Pin
Eslam Afifi15-Sep-08 19:25
Eslam Afifi15-Sep-08 19:25 
GeneralRe: Working with threads. Pin
CodingLover16-Sep-08 20:03
CodingLover16-Sep-08 20:03 
AnswerRe: Working with threads. Pin
N a v a n e e t h15-Sep-08 20:14
N a v a n e e t h15-Sep-08 20:14 
GeneralRe: Working with threads. Pin
CodingLover16-Sep-08 20:04
CodingLover16-Sep-08 20:04 
QuestionRe: Working with threads. Pin
Mark Salsbery16-Sep-08 8:47
Mark Salsbery16-Sep-08 8:47 
NewsRe: Working with threads. Pin
CodingLover16-Sep-08 20:05
CodingLover16-Sep-08 20:05 
QuestionEvent handler for check box Pin
sirisha guttikonda15-Sep-08 18:43
sirisha guttikonda15-Sep-08 18:43 
AnswerRe: Event handler for check box Pin
Eslam Afifi15-Sep-08 19:15
Eslam Afifi15-Sep-08 19:15 
Write something like this in the constructor or the form's Load event or whatever.
checkBox1.CheckedChanged += checkBox_CheckedChanged // the checkBox_CheckedChanged function
//now handles the CheckedChanged event of checkBox1
checkBox2.CheckedChanged += checkBox_CheckedChanged
checkBox3.CheckedChanged += checkBox_CheckedChanged
//...

Or you can simply set the CheckedChanged handler function from the Properties window (the Events section) for the checkboxes.

And to know which fired the event, it's the sender argument of the handler.
CheckBox Sender = (CheckBox)sender; //unbox to checkbox


Eslam Afifi

QuestionBinding to a DataGridView problem Pin
Richard Blythe15-Sep-08 17:33
Richard Blythe15-Sep-08 17:33 
AnswerRe: Binding to a DataGridView problem Pin
Harvey Saayman15-Sep-08 20:39
Harvey Saayman15-Sep-08 20:39 
QuestionTurn an array or arraylist into a text file? Pin
gigahertz20515-Sep-08 17:19
gigahertz20515-Sep-08 17:19 
AnswerRe: Turn an array or arraylist into a text file? Pin
N a v a n e e t h15-Sep-08 17:24
N a v a n e e t h15-Sep-08 17:24 
QuestionHow Do I Force Out ToolTips on DataGridViewCells? Pin
That Asian Guy15-Sep-08 16:57
That Asian Guy15-Sep-08 16:57 
Questionprinting using RDLC questions Pin
Jassim Rahma15-Sep-08 16:14
Jassim Rahma15-Sep-08 16:14 
AnswerRe: printing using RDLC questions Pin
Jassim Rahma16-Sep-08 22:54
Jassim Rahma16-Sep-08 22:54 
GeneralRe: printing using RDLC questions Pin
Jassim Rahma21-Sep-08 0:48
Jassim Rahma21-Sep-08 0:48 
AnswerRe: printing using RDLC questions Pin
Naji El Kotob26-Oct-09 4:01
Naji El Kotob26-Oct-09 4:01 
Questionclasses advice needed Pin
nelsonpaixao15-Sep-08 13:02
nelsonpaixao15-Sep-08 13:02 
AnswerRe: classes advice needed Pin
DaveyM6915-Sep-08 13:25
professionalDaveyM6915-Sep-08 13:25 
Questionconnection to database (from c#) Pin
nelsonpaixao15-Sep-08 12:54
nelsonpaixao15-Sep-08 12:54 
AnswerRe: connection to database (from c#) Pin
Paul Conrad15-Sep-08 13:58
professionalPaul Conrad15-Sep-08 13:58 
QuestionGetting Shell Tray Info In C#? Pin
Abydosgater15-Sep-08 11:58
Abydosgater15-Sep-08 11:58 
AnswerRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili16-Sep-08 0:16
mentorGiorgi Dalakishvili16-Sep-08 0:16 
GeneralRe: Getting Shell Tray Info In C#? Pin
Abydosgater16-Sep-08 1:04
Abydosgater16-Sep-08 1:04 
GeneralRe: Getting Shell Tray Info In C#? Pin
Giorgi Dalakishvili16-Sep-08 1:10
mentorGiorgi Dalakishvili16-Sep-08 1:10 

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.