Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
AnswerRe: string concatenation: several seconds Pin
OriginalGriff2-Dec-11 5:56
mveOriginalGriff2-Dec-11 5:56 
AnswerRe: string concatenation: several seconds Pin
BobJanova2-Dec-11 6:15
BobJanova2-Dec-11 6:15 
AnswerRe: string concatenation: several seconds Pin
Rick Bassham2-Dec-11 6:16
Rick Bassham2-Dec-11 6:16 
AnswerRe: string concatenation: several seconds Pin
#realJSOP2-Dec-11 7:10
mve#realJSOP2-Dec-11 7:10 
GeneralRe: string concatenation: several seconds Pin
phil.o2-Dec-11 8:46
professionalphil.o2-Dec-11 8:46 
AnswerRe: string concatenation: several seconds Pin
Eddy Vluggen2-Dec-11 7:27
professionalEddy Vluggen2-Dec-11 7:27 
AnswerRe: string concatenation: several seconds Pin
BillWoodruff2-Dec-11 20:11
professionalBillWoodruff2-Dec-11 20:11 
QuestionChanging ForeColor Item in ListBox ... Pin
nassimnastaran2-Dec-11 0:41
nassimnastaran2-Dec-11 0:41 
Hi All !
There are some Items in my List Box(ListBox1) include "Positive" or "Negative" items ,so when I want to add Positive , "Fore color" for this Item in list Box should be Green , and if I want to add Negative item to List Box , "Fore color" for this Item in list Box should be Red :

if (ListBox1.Items.ToString() == "Positive")
 ListBox1.ForeColor = Color.Green;
else
 ListBox1.ForeColor = Color.Red;//if the Item is Negative


thanks for any Help !
AnswerRe: Changing ForeColor Item in ListBox ... Pin
Dan Mos2-Dec-11 1:03
Dan Mos2-Dec-11 1:03 
AnswerRe: Changing ForeColor Item in ListBox ... PinPopular
Alan N2-Dec-11 1:49
Alan N2-Dec-11 1:49 
GeneralRe: Changing ForeColor Item in ListBox ... Pin
Dan Mos2-Dec-11 1:55
Dan Mos2-Dec-11 1:55 
GeneralRe: Changing ForeColor Item in ListBox ... Pin
Wonde Tadesse2-Dec-11 17:05
professionalWonde Tadesse2-Dec-11 17:05 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
Luc Pattyn2-Dec-11 4:06
sitebuilderLuc Pattyn2-Dec-11 4:06 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
BobJanova2-Dec-11 5:46
BobJanova2-Dec-11 5:46 
QuestionWhat should be the Return Type? Pin
AmbiguousName1-Dec-11 23:40
AmbiguousName1-Dec-11 23:40 
AnswerRe: What should be the Return Type? Pin
BobJanova1-Dec-11 23:55
BobJanova1-Dec-11 23:55 
GeneralRe: What should be the Return Type? Pin
AmbiguousName2-Dec-11 0:22
AmbiguousName2-Dec-11 0:22 
AnswerRe: What should be the Return Type? Pin
Dan Mos2-Dec-11 0:54
Dan Mos2-Dec-11 0:54 
GeneralRe: What should be the Return Type? Pin
BobJanova2-Dec-11 5:44
BobJanova2-Dec-11 5:44 
AnswerRe: What should be the Return Type? Pin
Rob Philpott2-Dec-11 1:07
Rob Philpott2-Dec-11 1:07 
GeneralRe: What should be the Return Type? Pin
BobJanova2-Dec-11 5:45
BobJanova2-Dec-11 5:45 
GeneralRe: What should be the Return Type? Pin
Rob Philpott2-Dec-11 5:50
Rob Philpott2-Dec-11 5:50 
AnswerRe: What should be the Return Type? Pin
PIEBALDconsult2-Dec-11 2:08
mvePIEBALDconsult2-Dec-11 2:08 
GeneralRe: What should be the Return Type? Pin
Eddy Vluggen2-Dec-11 7:30
professionalEddy Vluggen2-Dec-11 7:30 
QuestionComponent Versioning and the CLR Pin
Richard Andrew x641-Dec-11 16:43
professionalRichard Andrew x641-Dec-11 16: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.