Click here to Skip to main content
15,921,452 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can BinaryWriter write strings? Pin
Guffa5-Nov-06 13:52
Guffa5-Nov-06 13:52 
QuestionAttempted to read and write protected memory Pin
Nadia Monalisa5-Nov-06 7:55
Nadia Monalisa5-Nov-06 7:55 
AnswerRe: Attempted to read and write protected memory Pin
Rob Graham5-Nov-06 8:06
Rob Graham5-Nov-06 8:06 
AnswerRe: Attempted to read and write protected memory Pin
kahkaha5-Nov-06 8:32
kahkaha5-Nov-06 8:32 
GeneralRe: Attempted to read and write protected memory Pin
Nadia Monalisa5-Nov-06 8:46
Nadia Monalisa5-Nov-06 8:46 
QuestionOposite / Inverse Color Pin
TeamWild5-Nov-06 7:07
TeamWild5-Nov-06 7:07 
AnswerRe: Oposite / Inverse Color Pin
Insincere Dave5-Nov-06 7:19
Insincere Dave5-Nov-06 7:19 
AnswerRe: Oposite / Inverse Color Pin
Guffa5-Nov-06 7:33
Guffa5-Nov-06 7:33 
It's easy, but not very useful. You just make a new color from the components of the color:

Color.FromArgb(255 - color.R, 255 - color.G, 255 - color.B)

As I said, it's not very useful, as the inverse of some colors is so close to the color that you text will be unreadable. The inverse of medium gray, for example, is so close to medium gray that the text will be invisible.


---
b { font-weight: normal; }

GeneralRe: Oposite / Inverse Color Pin
Amar Chaudhary5-Nov-06 23:28
Amar Chaudhary5-Nov-06 23:28 
Questionoverride Pin
wanlim08175-Nov-06 5:47
wanlim08175-Nov-06 5:47 
AnswerRe: override Pin
Vega025-Nov-06 9:21
Vega025-Nov-06 9:21 
Questionreading from a file Pin
arjunsasikumar5-Nov-06 4:04
arjunsasikumar5-Nov-06 4:04 
AnswerRe: reading from a file Pin
User 66585-Nov-06 4:44
User 66585-Nov-06 4:44 
AnswerRe: reading from a file Pin
Stefan Troschuetz5-Nov-06 4:44
Stefan Troschuetz5-Nov-06 4:44 
Questiondll AccessViolation Pin
ilmarga5-Nov-06 3:51
ilmarga5-Nov-06 3:51 
AnswerRe: dll AccessViolation Pin
Rob Graham5-Nov-06 5:09
Rob Graham5-Nov-06 5:09 
Questionsend and recieve bytes Pin
HRiazi5-Nov-06 3:20
HRiazi5-Nov-06 3:20 
AnswerRe: send and recieve bytes Pin
mertkan656-Nov-06 4:34
mertkan656-Nov-06 4:34 
QuestionGenerics/Collections return a specific object Pin
I_thought5-Nov-06 3:04
I_thought5-Nov-06 3:04 
AnswerRe: Generics/Collections return a specific object Pin
I_thought5-Nov-06 6:15
I_thought5-Nov-06 6:15 
AnswerRe: Generics/Collections return a specific object Pin
Judah Gabriel Himango5-Nov-06 12:26
sponsorJudah Gabriel Himango5-Nov-06 12:26 
Questionplz help: how can i open mht file in windows based form with C# Pin
mohamed magdi ali4-Nov-06 21:47
mohamed magdi ali4-Nov-06 21:47 
Questioncontrol . cs-->.dll Pin
rzvme4-Nov-06 21:31
rzvme4-Nov-06 21:31 
AnswerRe: control . cs-->.dll Pin
Stefan Troschuetz4-Nov-06 22:19
Stefan Troschuetz4-Nov-06 22:19 
AnswerRe: control . cs-->.dll Pin
Amar Chaudhary5-Nov-06 23:35
Amar Chaudhary5-Nov-06 23:35 

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.