6
Answers

Change Text Color Attribute based on combox selection

Rick Clemons

Rick Clemons

14y
5.5k
1
I have a ComboBox (motionComboBox) with values: STOP, GO, PAUSE
I have a label for the box (labelmotionComboBox).

I want to change the Foreground.Color of both of these items depending on which value the user selects from the combo box.

I have tried various combinations that will compile clean, but halts the program when I change the value.

Surely this can be done, but as usual I have run out of insight.

ALL thoughts would be gratefully appreciated.
 
Answers (6)
0
Ravi Patel

Ravi Patel

NA 7.8k 532.4k 9y
Hi ,
 
check this
 
for 3-Tier architecture
 
http://www.dotnetfunda.com/articles/show/71/3-tier-architecture-in-aspnet-with-csharp 
Accepted