Added support for color coding the DataGridViews' header cells based on row state (saved, pending edit, row error) and finished writing the last database writer function for cost analysis.

This commit is contained in:
2016-12-04 01:27:25 -06:00
parent 6813bbb341
commit d8c753f788
11 changed files with 770 additions and 562 deletions
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdvertsingProfitControl
{
/// <summary>
/// Defines the colors to be used for the rows on the DataGridViews based on their state.
/// </summary>
public static class ApplicationColors
{
public static Color EditingSaved = Color.ForestGreen;
public static Color PendingEdit = Color.Yellow;
public static Color RowError = Color.Red;
public static Color HeaderRow = Color.LightGray;
public static Color MemberRow = Color.LightBlue;
}
}