Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
Question[newbie] controls collection Pin
jon-8019-Jan-09 5:30
professionaljon-8019-Jan-09 5:30 
AnswerRe: [newbie] controls collection Pin
Not Active19-Jan-09 6:10
mentorNot Active19-Jan-09 6:10 
AnswerRe: [newbie] controls collection [modified] Pin
Luc Pattyn19-Jan-09 6:12
sitebuilderLuc Pattyn19-Jan-09 6:12 
GeneralRe: [newbie] controls collection Pin
jon-8019-Jan-09 12:27
professionaljon-8019-Jan-09 12:27 
AnswerRe: [newbie] controls collection [modified] Pin
Luc Pattyn19-Jan-09 12:42
sitebuilderLuc Pattyn19-Jan-09 12:42 
AnswerRe: [newbie] controls collection Pin
Ben Fair19-Jan-09 6:15
Ben Fair19-Jan-09 6:15 
GeneralRe: [newbie] controls collection Pin
Not Active19-Jan-09 6:27
mentorNot Active19-Jan-09 6:27 
GeneralRe: [newbie] controls collection Pin
Ben Fair19-Jan-09 15:23
Ben Fair19-Jan-09 15:23 
OK, not sure how you came to that conclusion. I said to use a single Boolean Property (with a Get and Set) to a single boolean variable to control the button's state, rather than relying on a textual comparison of the button's Text Property. I also said if you have the need to go beyond two states and a boolean will no longer suffice, to use the same approach but with an Enum. Which would still be a single Property with a Get and Set to a single variable of the Enum type. I think that using a Property in this manner lends itself well to what actions need to occur and the events that trigger them.

Keep It Simple Stupid! (KISS)

QuestionFind out the path of a file in a c#-program, the user has double-clicked in the explorer Pin
tschmid8519-Jan-09 5:02
tschmid8519-Jan-09 5:02 
AnswerRe: Find out the path of a file in a c#-program, the user has double-clicked in the explorer [modified] Pin
Luc Pattyn19-Jan-09 5:16
sitebuilderLuc Pattyn19-Jan-09 5:16 
GeneralRe: Find out the path of a file in a c#-program, the user has double-clicked in the explorer Pin
tschmid8520-Jan-09 0:07
tschmid8520-Jan-09 0:07 
AnswerRe: Find out the path of a file in a c#-program, the user has double-clicked in the explorer [modified] Pin
Luc Pattyn20-Jan-09 1:02
sitebuilderLuc Pattyn20-Jan-09 1:02 
AnswerRe: Find out the path of a file in a c#-program, the user has double-clicked in the explorer Pin
Pete O'Hanlon19-Jan-09 5:19
mvePete O'Hanlon19-Jan-09 5:19 
AnswerRe: Find out the path of a file in a c#-program, the user has double-clicked in the explorer [modified] Pin
Luc Pattyn19-Jan-09 6:18
sitebuilderLuc Pattyn19-Jan-09 6:18 
GeneralRe: Find out the path of a file in a c#-program, the user has double-clicked in the explorer Pin
Pete O'Hanlon19-Jan-09 8:41
mvePete O'Hanlon19-Jan-09 8:41 
AnswerRe: Find out the path of a file in a c#-program, the user has double-clicked in the explorer Pin
Giorgi Dalakishvili19-Jan-09 5:28
mentorGiorgi Dalakishvili19-Jan-09 5:28 
QuestionSQL Relations Pin
ctrlnick19-Jan-09 4:56
ctrlnick19-Jan-09 4:56 
AnswerRe: SQL Relations Pin
Not Active19-Jan-09 5:01
mentorNot Active19-Jan-09 5:01 
GeneralRe: SQL Relations Pin
ctrlnick19-Jan-09 5:04
ctrlnick19-Jan-09 5:04 
GeneralRe: SQL Relations Pin
Not Active19-Jan-09 5:14
mentorNot Active19-Jan-09 5:14 
GeneralRe: SQL Relations Pin
ctrlnick19-Jan-09 6:55
ctrlnick19-Jan-09 6:55 
GeneralRe: SQL Relations Pin
Not Active19-Jan-09 7:01
mentorNot Active19-Jan-09 7:01 
AnswerRe: SQL Relations Pin
Wendelius19-Jan-09 7:40
mentorWendelius19-Jan-09 7:40 
QuestionDelete selected attribute in HTML Pin
trinm198719-Jan-09 4:39
trinm198719-Jan-09 4:39 
AnswerRe: Delete selected attribute in HTML Pin
#realJSOP19-Jan-09 4:43
professional#realJSOP19-Jan-09 4:43 

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.