@@ -24,9 +24,9 @@ public partial class DevicePDOView2 : MyTabUserControl
2424
2525 PDOSlot selectedslot = null ;
2626
27- CellBackColorAlternate viewNormal = new CellBackColorAlternate ( Color . Khaki , Color . DarkKhaki ) ;
28- CellBackColorAlternate viewEmpty = new CellBackColorAlternate ( Color . Gray , Color . Gray ) ;
29- CellBackColorAlternate viewCOB = new CellBackColorAlternate ( Color . LightBlue , Color . Blue ) ;
27+ CellBackColorAlternate viewNormal = new CellBackColorAlternate ( Color . Khaki , Color . LemonChiffon ) ;
28+ CellBackColorAlternate viewEmpty = new CellBackColorAlternate ( Color . LightGray , Color . Gainsboro ) ;
29+ CellBackColorAlternate viewCOB = new CellBackColorAlternate ( Color . LightBlue , Color . LightCyan ) ;
3030
3131 Point RightClickPoint = new Point ( 0 , 0 ) ;
3232
@@ -62,7 +62,7 @@ public DevicePDOView2()
6262 grid1 [ 1 , 3 + x * 8 ] = new MyHeader ( string . Format ( "Byte {0}" , x ) ) ;
6363 grid1 [ 1 , 3 + x * 8 ] . ColumnSpan = 8 ;
6464
65- grid1 [ 1 , 3 + x * 8 ] . View . BackColor = Color . Red ;
65+ grid1 [ 1 , 3 + x * 8 ] . View . BackColor = Color . Tomato ;
6666
6767 }
6868
@@ -541,12 +541,12 @@ public MyHeader(object value) : base(value)
541541 view . Font = new Font ( FontFamily . GenericSansSerif , 8 , FontStyle . Bold ) ;
542542 view . WordWrap = true ;
543543 view . TextAlignment = DevAge . Drawing . ContentAlignment . MiddleCenter ;
544- view . BackColor = Color . Red ;
544+ view . BackColor = Color . Tomato ;
545545
546546 string text = value . ToString ( ) ;
547547 if ( text == "0" || text == "8" || text == "16" || text == "24" || text == "32" || text == "40" || text == "48" || text == "56" )
548548 {
549- view . ForeColor = Color . Red ;
549+ view . ForeColor = Color . Tomato ;
550550 }
551551
552552 View = view ;
0 commit comments