Click here to Skip to main content
15,909,324 members
Home / Discussions / C#
   

C#

 
GeneralRe: .Net control behaves differently between Web and Windows application Pin
Heath Stewart22-Sep-05 8:33
protectorHeath Stewart22-Sep-05 8:33 
Questionproblem with a HEX array Pin
cue_ball22-Sep-05 7:42
cue_ball22-Sep-05 7:42 
AnswerRe: problem with a HEX array Pin
Heath Stewart22-Sep-05 8:09
protectorHeath Stewart22-Sep-05 8:09 
QuestionDataGridViewCheckBoxColumn Pin
Drew McGhie22-Sep-05 7:22
Drew McGhie22-Sep-05 7:22 
AnswerRe: DataGridViewCheckBoxColumn Pin
Drew McGhie22-Sep-05 7:59
Drew McGhie22-Sep-05 7:59 
QuestionMore Efficient Code Pin
Debs*22-Sep-05 6:58
Debs*22-Sep-05 6:58 
AnswerRe: More Efficient Code Pin
therealmccoy22-Sep-05 7:03
therealmccoy22-Sep-05 7:03 
AnswerRe: More Efficient Code Pin
Robert Rohde22-Sep-05 8:06
Robert Rohde22-Sep-05 8:06 
You could put all CheckBoxes into an array and iterate over it:

//instance member
CheckBox[] _allCheckBoxes;

//somewhere once all CheckBoxes are created
_allCheckBoxes = new CheckBox[31];
_allCheckBoxes[0] = CheckBox1;
_allCheckBoxes[1] = CheckBox2;
//...


//then if you have to change all of them
foreach (CheckBox cb in _allCheckBoxes)
cb.Enabled = true;

GeneralRe: More Efficient Code Pin
Niklas Ulvinge22-Sep-05 8:51
Niklas Ulvinge22-Sep-05 8:51 
GeneralRe: More Efficient Code Pin
Robert Rohde22-Sep-05 9:05
Robert Rohde22-Sep-05 9:05 
GeneralRe: More Efficient Code Pin
Debs*22-Sep-05 10:30
Debs*22-Sep-05 10:30 
GeneralRe: More Efficient Code Pin
Niklas Ulvinge23-Sep-05 0:42
Niklas Ulvinge23-Sep-05 0:42 
AnswerRe: More Efficient Code -SOLVED Pin
Debs*23-Sep-05 7:11
Debs*23-Sep-05 7:11 
QuestionIEnumIDList.Next(...) is not working :( Pin
daouner22-Sep-05 5:28
daouner22-Sep-05 5:28 
AnswerRe: IEnumIDList.Next(...) is not working :( Pin
Heath Stewart22-Sep-05 6:29
protectorHeath Stewart22-Sep-05 6:29 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner22-Sep-05 7:25
daouner22-Sep-05 7:25 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner22-Sep-05 10:00
daouner22-Sep-05 10:00 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
Heath Stewart22-Sep-05 11:06
protectorHeath Stewart22-Sep-05 11:06 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner23-Sep-05 7:19
daouner23-Sep-05 7:19 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
Heath Stewart23-Sep-05 7:27
protectorHeath Stewart23-Sep-05 7:27 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner23-Sep-05 7:34
daouner23-Sep-05 7:34 
GeneralRe: IEnumIDList.Next(...) is not working :( Pin
daouner23-Sep-05 9:08
daouner23-Sep-05 9:08 
QuestionRegular Expression for html tags Pin
brunoconde22-Sep-05 5:15
brunoconde22-Sep-05 5:15 
AnswerRe: Regular Expression for html tags Pin
Guffa22-Sep-05 6:14
Guffa22-Sep-05 6:14 
GeneralRe: Regular Expression for html tags Pin
Anonymous22-Sep-05 8:36
Anonymous22-Sep-05 8:36 

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.