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
+3 -3
View File
@@ -30,11 +30,11 @@ namespace AdvertsingProfitControl
/// Adds a row to the Rows Dictionary that keeps track of what rows have been
/// added to the database including their IDs.
/// </summary>
/// <param name="key">The index of the row that was added to the database.</param>
/// <param name="rowIndex">The index of the row that was added to the database.</param>
/// <param name="rowIdNumber">The ID number of the row as represented in the database.</param>
public void AddRowId(int key, int rowIdNumber)
public void AddRowId(int rowIndex, int rowIdNumber)
{
_rowIds.Add(key, rowIdNumber);
_rowIds.Add(rowIndex, rowIdNumber);
}
/// <summary>
/// Removes a row from the Rows collection.