Click here to Skip to main content
15,902,445 members
Home / Discussions / C#
   

C#

 
GeneralInteresting Pin
Ennis Ray Lynch, Jr.8-Jan-08 11:01
Ennis Ray Lynch, Jr.8-Jan-08 11:01 
GeneralRe: Interesting Pin
Skippums9-Jan-08 5:12
Skippums9-Jan-08 5:12 
QuestionCreate Axwebbrowser with new Tabpage (VS2005) Pin
cola19738-Jan-08 8:00
cola19738-Jan-08 8:00 
GeneralChange the Properties.Settings.Default user Pin
Christopher Stratmann8-Jan-08 7:36
Christopher Stratmann8-Jan-08 7:36 
GeneralRe: Change the Properties.Settings.Default user Pin
Skippums8-Jan-08 7:42
Skippums8-Jan-08 7:42 
GeneralRe: Change the Properties.Settings.Default user Pin
Christopher Stratmann8-Jan-08 7:52
Christopher Stratmann8-Jan-08 7:52 
GeneralRe: Change the Properties.Settings.Default user Pin
Skippums8-Jan-08 8:14
Skippums8-Jan-08 8:14 
GeneralChanging colors of listview items.. Pin
Dio228-Jan-08 7:23
Dio228-Jan-08 7:23 
I have a listview named redTagView.. I'd like to color the 4th column red or green depending on if it's an "N" or not. I've written the following code..

for (int i = 0; i < redTagView.Items.Count; i++)
{
   if (redTagView.Items[i].SubItems[3].Text == "N")
     {
        redTagView.Items[i].SubItems[3].ForeColor = System.Drawing.Color.Red;
     }
   else
     {
        redTagView.Items[i].SubItems[3].ForeColor = System.Drawing.Color.Green;
     }
}

The code sits there and stares at me like I'm an idiot. Makes me feel warm and fuzzy inside. Any reason why this shouldn't work? Tried redTagView.Refresh().. nothing.
GeneralRe: Changing colors of listview items.. Pin
cola19738-Jan-08 8:41
cola19738-Jan-08 8:41 
GeneralThreading Advice/Solutions Pin
paul90388-Jan-08 6:11
paul90388-Jan-08 6:11 
GeneralRe: Threading Advice/Solutions Pin
led mike8-Jan-08 7:00
led mike8-Jan-08 7:00 
GeneralRe: Threading Advice/Solutions Pin
Patrick Etc.8-Jan-08 7:17
Patrick Etc.8-Jan-08 7:17 
QuestionHow to access click event of the controlbox item close 'X' of a form Pin
eoswin8-Jan-08 5:43
eoswin8-Jan-08 5:43 
GeneralRe: How to access click event of the controlbox item close 'X' of a form Pin
Not Active8-Jan-08 5:47
mentorNot Active8-Jan-08 5:47 
GeneralRe: How to access click event of the controlbox item close 'X' of a form Pin
eoswin8-Jan-08 10:55
eoswin8-Jan-08 10:55 
Question[Message Deleted] Pin
sven-it8-Jan-08 5:20
sven-it8-Jan-08 5:20 
GeneralRe: Problem with OpenFiledialog - C# CompactFramework Pin
Not Active8-Jan-08 5:48
mentorNot Active8-Jan-08 5:48 
GeneralWindow.status Bar Pin
A.Asif8-Jan-08 4:40
A.Asif8-Jan-08 4:40 
GeneralRe: Window.status Bar Pin
Judah Gabriel Himango8-Jan-08 6:06
sponsorJudah Gabriel Himango8-Jan-08 6:06 
GeneralRe: Window.status Bar Pin
A.Asif8-Jan-08 6:43
A.Asif8-Jan-08 6:43 
GeneralRe: Window.status Bar Pin
Judah Gabriel Himango8-Jan-08 8:29
sponsorJudah Gabriel Himango8-Jan-08 8:29 
GeneralRe: Window.status Bar Pin
A.Asif8-Jan-08 9:09
A.Asif8-Jan-08 9:09 
GeneralFrom VB6 to C# Pin
haolan8-Jan-08 4:07
haolan8-Jan-08 4:07 
GeneralRe: From VB6 to C# Pin
led mike8-Jan-08 4:57
led mike8-Jan-08 4:57 
GeneralRe: From VB6 to C# Pin
haolan9-Jan-08 0:10
haolan9-Jan-08 0:10 

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.