Set up Invoice DataGridView event handlers to validate user input and provide basic formatting for the contents of the cells. Updated the week ending masked text box to get a parsed DateTime value, just to make it look pretty.

This commit is contained in:
2016-11-08 02:24:58 -06:00
parent f60cc5ab8b
commit 8e140a7131
9 changed files with 243 additions and 45 deletions
@@ -288,6 +288,18 @@ namespace AdvertsingProfitControl
IsInDatabase = 11
}
public enum InvoiceTableColumns
{
Id = 0,
InvoiceDate = 1,
Supplier = 2,
InvoiceNumber = 3,
InvoiceNetAmountAtCost = 4,
InvoiceNetAmount = 5,
InvoiceNote = 6,
IsDirty = 7
}
public enum TrimmingOperationResult
{
FailedToTrim = 0,