yibo 8 years ago
parent
commit
42f2ea3b96
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      QualityAndOrder/QualityOrderFormForTab2.cs

+ 5
- 5
QualityAndOrder/QualityOrderFormForTab2.cs View File

@ -198,7 +198,7 @@ namespace QualityAndOrder
if ((bool)row.Cells["O_IsHurryButcher"].Value)
row.DefaultCellStyle.BackColor = Color.YellowGreen;
if ((bool)row.Cells["O_SecondarySplit"].Value)
row.DefaultCellStyle.BackColor = Color.OrangeRed;
row.DefaultCellStyle.BackColor = Color.DarkOrange;
if (lastOrderDetail != null && lastOrderDetail.ID == (long)row.Cells["O_ID"].Value)
{
var cRow = row;
@ -209,8 +209,8 @@ namespace QualityAndOrder
if (lastOrderDetail.IsHurryButcher)
cRow.DefaultCellStyle.BackColor = Color.Yellow;
if (lastOrderDetail.SecondarySplit)
cRow.DefaultCellStyle.BackColor = Color.OrangeRed;
cRow.DefaultCellStyle.BackColor = c;
cRow.DefaultCellStyle.BackColor = Color.Pink;
cRow.DefaultCellStyle.SelectionBackColor = c;
}
}
InitScrollBar2();
@ -340,7 +340,7 @@ namespace QualityAndOrder
if (lastOrderDetail.IsHurryButcher)
c = Color.YellowGreen;
if (lastOrderDetail.SecondarySplit)
c = Color.OrangeRed;
c = Color.DarkOrange;
row.DefaultCellStyle.BackColor = c;
break;
}
@ -352,7 +352,7 @@ namespace QualityAndOrder
if (lastOrderDetail.IsHurryButcher)
bc = Color.Yellow;
if (lastOrderDetail.SecondarySplit)
bc = Color.OrangeRed;
bc = Color.Pink;
orderGrid.CurrentRow.DefaultCellStyle.SelectionBackColor = bc;
}
orderGrid.Refresh();


Loading…
Cancel
Save