Created the first version of the table normalizing function to correct unbalanced tables. Can only add or update rows by scanning downward from the top of a table; cannot detect fragmentation in the middle of a table. (Think Drag and Drop/row position update fails.)

This commit is contained in:
2017-02-07 02:46:15 -06:00
parent 2657523888
commit 13f0e5df35
13 changed files with 636 additions and 163 deletions
-2
View File
@@ -32,7 +32,6 @@ namespace AdvertsingProfitControl
//Flag showing whether or not the AdSpecialRow has been made in this session.
private int _adSpecialIndex = -1;
private readonly AdvertisingProfitControlTableHelper _tableHelperFunctions = new AdvertisingProfitControlTableHelper();
private TabPage _debugTabPage;
public NewAddRecord()
{
@@ -147,7 +146,6 @@ namespace AdvertsingProfitControl
suppliesTextBox.Enter += StoreBeginningTextBoxValue;
suppliesTextBox.Validating += ValidateCostAnalysisValues;
//
_debugTabPage = mainTabControl.TabPages[4];
mainTabControl.TabPages.Remove(mainTabControl.TabPages[4]);
//Select Saturday if it is not already set.
if (weekEndingCalendar.SelectionStart.DayOfWeek == DayOfWeek.Saturday) return;