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