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