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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user