Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: Looping on bitwise parameter? Pin
Guffa16-Dec-06 17:53
Guffa16-Dec-06 17:53 
GeneralRe: Looping on bitwise parameter? Pin
Lord Kixdemp16-Dec-06 18:12
Lord Kixdemp16-Dec-06 18:12 
GeneralRe: Looping on bitwise parameter? Pin
Robert Rohde16-Dec-06 20:42
Robert Rohde16-Dec-06 20:42 
GeneralRe: Looping on bitwise parameter? Pin
Guffa16-Dec-06 22:24
Guffa16-Dec-06 22:24 
GeneralRe: Looping on bitwise parameter? Pin
Scott Dorman17-Dec-06 11:07
professionalScott Dorman17-Dec-06 11:07 
GeneralRe: Looping on bitwise parameter? Pin
Nader Elshehabi17-Dec-06 3:42
Nader Elshehabi17-Dec-06 3:42 
GeneralRe: Looping on bitwise parameter? Pin
Lord Kixdemp17-Dec-06 6:55
Lord Kixdemp17-Dec-06 6:55 
GeneralRe: Looping on bitwise parameter? Pin
Nader Elshehabi17-Dec-06 7:59
Nader Elshehabi17-Dec-06 7:59 
Well, in your original post you said that the processing you do in your method is almost the same for several enum values. I assume that you can divide your enum into two main groups: foreground, and background. Foreground colors has the integer range of 30-39; While Background colors has the range of 40-47. You can check that range in only two if statements and apply the color to the fore/background accordingly.
Does that make things easier than the bitwise AND?
Lord Kixdemp wrote:
when will be the day when someone invents THE programming language that will extinguish all others?

Perhaps when we invent the Matrix code?!!Smile | :) Don't expect that day to come soon. The best we can do is to put standards and ways of interop -e.g. COM-. If you did invent that all-in-one, be sure to let us know -seriously-.
Lord Kixdemp wrote:
Windows Calculator told me I will die at 28

Did it tell you something about the rest of us?;)

RegardsRose | [Rose]

GeneralRe: Looping on bitwise parameter? Pin
Guffa17-Dec-06 9:09
Guffa17-Dec-06 9:09 
QuestionHi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 13:24
babbelfisken16-Dec-06 13:24 
AnswerRe: Hi, problem drawing a component to a control Pin
Luc Pattyn16-Dec-06 13:57
sitebuilderLuc Pattyn16-Dec-06 13:57 
GeneralRe: Hi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 23:20
babbelfisken16-Dec-06 23:20 
GeneralRe: Hi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 23:39
babbelfisken16-Dec-06 23:39 
QuestionC# Design Pattern Suggestion needed... Pin
cmprogrock16-Dec-06 13:03
cmprogrock16-Dec-06 13:03 
QuestionHow to use the operators DIV and MOD Pin
CodeItWell16-Dec-06 9:51
CodeItWell16-Dec-06 9:51 
AnswerRe: How to use the operators DIV and MOD Pin
ejuanpp16-Dec-06 10:23
ejuanpp16-Dec-06 10:23 
AnswerRe: How to use the operators DIV and MOD Pin
Ravi Bhavnani16-Dec-06 11:31
professionalRavi Bhavnani16-Dec-06 11:31 
QuestionCorrect a date in a textBox Pin
CodeItWell16-Dec-06 8:40
CodeItWell16-Dec-06 8:40 
AnswerRe: Correct a date in a textBox Pin
Luc Pattyn16-Dec-06 9:15
sitebuilderLuc Pattyn16-Dec-06 9:15 
AnswerRe: Correct a date in a textBox Pin
Bassam Saoud16-Dec-06 11:13
Bassam Saoud16-Dec-06 11:13 
Questiondataset changes Pin
fmardani16-Dec-06 7:43
fmardani16-Dec-06 7:43 
QuestionObject creation at internal condition in constructor Pin
Tony Lambert16-Dec-06 7:23
Tony Lambert16-Dec-06 7:23 
AnswerRe: Object creation at internal condition in constructor Pin
Guffa16-Dec-06 8:43
Guffa16-Dec-06 8:43 
GeneralRe: Object creation at internal condition in constructor Pin
Tony Lambert16-Dec-06 9:15
Tony Lambert16-Dec-06 9:15 
GeneralRe: Object creation at internal condition in constructor Pin
Guffa16-Dec-06 11:43
Guffa16-Dec-06 11: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.