Click here to Skip to main content
15,946,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: calling ShowDialog() Pin
MahaKh4-Jan-12 2:26
MahaKh4-Jan-12 2:26 
GeneralRe: calling ShowDialog() Pin
Pete O'Hanlon4-Jan-12 3:11
mvePete O'Hanlon4-Jan-12 3:11 
AnswerRe: calling ShowDialog() Pin
OriginalGriff4-Jan-12 1:34
mveOriginalGriff4-Jan-12 1:34 
QuestionHow to drawing text that can rotate in Tao.OpenGL Pin
derek09193-Jan-12 22:24
derek09193-Jan-12 22:24 
AnswerRe: How to drawing text that can rotate in Tao.OpenGL Pin
Luc Pattyn4-Jan-12 2:07
sitebuilderLuc Pattyn4-Jan-12 2:07 
QuestionGet Windows Icons For Devices Pin
Kevin Marois3-Jan-12 13:05
professionalKevin Marois3-Jan-12 13:05 
AnswerRe: Get Windows Icons For Devices Pin
Richard Andrew x643-Jan-12 16:46
professionalRichard Andrew x643-Jan-12 16:46 
QuestionFill datagridview cell with color Pin
perry593-Jan-12 10:04
perry593-Jan-12 10:04 
I want to fill the cells of a datagridview column based on numbers derived at runtime. Sounds easy enough but...
these two lines of code work great if I only wanted red

dataGridView1.Rows[layerCount].Cells[3].Style.BackColor = Color.Red;
dataGridView1.Rows[layerCount].Cells[3].Style.ForeColor = Color.Red;

but these two lines just color the cells text (if existing)? or they just act bizzarly(although they worked good with a listview)

dataGridView1.Rows[layerCount].Cells[3].Style.BackColor = Color.FromArgb(swLayer.Color);
dataGridView1.Rows[layerCount].Cells[3].Style.ForeColor = Color.FromArgb(swLayer.Color);

Anyone have any pointer?
wait a minute, no POINTERS, how about advice Smile | :)
AnswerRe: Fill datagridview cell with color Pin
Luc Pattyn3-Jan-12 10:37
sitebuilderLuc Pattyn3-Jan-12 10:37 
GeneralRe: Fill datagridview cell with color Pin
MahaKh4-Jan-12 4:01
MahaKh4-Jan-12 4:01 
AnswerRe: Fill datagridview cell with color Pin
Luc Pattyn4-Jan-12 4:03
sitebuilderLuc Pattyn4-Jan-12 4:03 
AnswerRe: Fill datagridview cell with color Pin
perry594-Jan-12 9:00
perry594-Jan-12 9:00 
QuestionAlternative to using a string as a key? Pin
venomation3-Jan-12 9:11
venomation3-Jan-12 9:11 
AnswerRe: Alternative to using a string as a key? Pin
Luc Pattyn3-Jan-12 9:23
sitebuilderLuc Pattyn3-Jan-12 9:23 
GeneralRe: Alternative to using a string as a key? Pin
venomation3-Jan-12 9:25
venomation3-Jan-12 9:25 
GeneralRe: Alternative to using a string as a key? Pin
SledgeHammer013-Jan-12 9:48
SledgeHammer013-Jan-12 9:48 
AnswerRe: Alternative to using a string as a key? Pin
Luc Pattyn3-Jan-12 10:38
sitebuilderLuc Pattyn3-Jan-12 10:38 
GeneralRe: Alternative to using a string as a key? Pin
SledgeHammer013-Jan-12 12:15
SledgeHammer013-Jan-12 12:15 
AnswerRe: Alternative to using a string as a key? Pin
jschell3-Jan-12 10:40
jschell3-Jan-12 10:40 
GeneralRe: Alternative to using a string as a key? Pin
venomation3-Jan-12 11:01
venomation3-Jan-12 11:01 
GeneralRe: Alternative to using a string as a key? Pin
jschell4-Jan-12 8:12
jschell4-Jan-12 8:12 
GeneralRe: Alternative to using a string as a key? Pin
SledgeHammer014-Jan-12 9:26
SledgeHammer014-Jan-12 9:26 
GeneralRe: Alternative to using a string as a key? Pin
jschell6-Jan-12 8:29
jschell6-Jan-12 8:29 
AnswerRe: Alternative to using a string as a key? Pin
Shameel3-Jan-12 16:22
professionalShameel3-Jan-12 16:22 
AnswerRe: Alternative to using a string as a key? Pin
BillWoodruff3-Jan-12 19:28
professionalBillWoodruff3-Jan-12 19:28 

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.