Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
AnswerRe: Proper way to determine the colors of controls? Pin
petercrab5-Jan-10 0:32
petercrab5-Jan-10 0:32 
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 0:36
arnold_w5-Jan-10 0:36 
GeneralRe: Proper way to determine the colors of controls? Pin
Saksida Bojan5-Jan-10 1:54
Saksida Bojan5-Jan-10 1:54 
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 2:56
arnold_w5-Jan-10 2:56 
GeneralRe: Proper way to determine the colors of controls? [modified] Pin
Saksida Bojan5-Jan-10 4:51
Saksida Bojan5-Jan-10 4:51 
AnswerRe: Proper way to determine the colors of controls? Pin
Saksida Bojan5-Jan-10 1:56
Saksida Bojan5-Jan-10 1:56 
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 2:04
arnold_w5-Jan-10 2:04 
GeneralRe: Proper way to determine the colors of controls? Pin
Saksida Bojan5-Jan-10 4:41
Saksida Bojan5-Jan-10 4:41 
arnold_w wrote:
Thus, for some reason the DataGridView is not the same color on all computers, but the arrow I drew has the same color because I hard-coded it.


So other background is not hardcoded
if you use static prop ties of class Color (Color.White or Color.Blue). Those colors are hard coded. However class SystemColor has also static proprties, (SystemColor.Window or SystemColor.Control) those properties are system specific tied to color schemes used by windows. These color schemes can be easily changed
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 21:30
arnold_w5-Jan-10 21:30 
QuestionAdd-in is not executing. Pin
SRKSHOME4-Jan-10 23:24
SRKSHOME4-Jan-10 23:24 
Questionc# windows application Pin
naghoumeh144-Jan-10 22:52
naghoumeh144-Jan-10 22:52 
AnswerRe: c# windows application Pin
OriginalGriff4-Jan-10 23:08
mveOriginalGriff4-Jan-10 23:08 
GeneralRe: c# windows application Pin
naghoumeh144-Jan-10 23:21
naghoumeh144-Jan-10 23:21 
GeneralRe: c# windows application Pin
OriginalGriff4-Jan-10 23:38
mveOriginalGriff4-Jan-10 23:38 
GeneralRe: c# windows application Pin
naghoumeh144-Jan-10 23:46
naghoumeh144-Jan-10 23:46 
GeneralRe: c# windows application Pin
OriginalGriff5-Jan-10 0:00
mveOriginalGriff5-Jan-10 0:00 
AnswerRe: c# windows application Pin
Programm3r4-Jan-10 23:12
Programm3r4-Jan-10 23:12 
AnswerRe: c# windows application Pin
Isaac Gordon6-Jan-10 1:25
Isaac Gordon6-Jan-10 1:25 
QuestionException context in C# Pin
Antoine Jaussoin4-Jan-10 22:51
Antoine Jaussoin4-Jan-10 22:51 
AnswerRe: Exception context in C# Pin
Nicholas Butler4-Jan-10 23:20
sitebuilderNicholas Butler4-Jan-10 23:20 
GeneralRe: Exception context in C# Pin
Antoine Jaussoin5-Jan-10 0:10
Antoine Jaussoin5-Jan-10 0:10 
GeneralRe: Exception context in C# Pin
Nicholas Butler5-Jan-10 0:30
sitebuilderNicholas Butler5-Jan-10 0:30 
GeneralRe: Exception context in C# Pin
Antoine Jaussoin5-Jan-10 1:21
Antoine Jaussoin5-Jan-10 1:21 
GeneralRe: Exception context in C# Pin
Nicholas Butler5-Jan-10 1:35
sitebuilderNicholas Butler5-Jan-10 1:35 
GeneralRe: Exception context in C# Pin
Luc Pattyn5-Jan-10 2:26
sitebuilderLuc Pattyn5-Jan-10 2:26 

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.