From 9ef133a825a7a440c02e07276e1bfb1f74df6026 Mon Sep 17 00:00:00 2001 From: Garritt McCune Date: Tue, 6 Dec 2016 12:44:08 -0600 Subject: [PATCH] Hidden check boxes now update to reflect whether or not they are in need of updating or not. --- AdvertsingProfitControl/NewAddRecord.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AdvertsingProfitControl/NewAddRecord.cs b/AdvertsingProfitControl/NewAddRecord.cs index a6f7e58..9b284ad 100644 --- a/AdvertsingProfitControl/NewAddRecord.cs +++ b/AdvertsingProfitControl/NewAddRecord.cs @@ -2041,6 +2041,7 @@ namespace AdvertsingProfitControl var id = status.Id; isCommentDirtyCheckBox.Tag = id; isCommentDirtyCheckBox.Text = @"IsCommentDirty (" + id + @")"; + isCommentDirtyCheckBox.Checked = false; } } else @@ -2055,6 +2056,7 @@ namespace AdvertsingProfitControl } else { + isCommentDirtyCheckBox.Checked = false; informationLabel.Text += @"Comment(s) processed successfully."; } } @@ -2087,6 +2089,7 @@ namespace AdvertsingProfitControl informationLabel.Text += @"Weekly Sales processed successfully."; isWeeklySalesDirtyCheckBox.Tag = status.Id; isWeeklySalesDirtyCheckBox.Text = @"IsWeeklySalesDirty (" + status.Id + @")"; + isWeeklySalesDirtyCheckBox.Checked = false; } } else @@ -2099,6 +2102,7 @@ namespace AdvertsingProfitControl } else { + isWeeklySalesDirtyCheckBox.Checked = false; informationLabel.Text += @"Weekly Sales updated successfully."; } } @@ -2131,6 +2135,7 @@ namespace AdvertsingProfitControl informationLabel.Text += @"Taxable processed successfully."; isTaxableDirtyCheckBox.Tag = status.Id; isTaxableDirtyCheckBox.Text = @"IsTaxableDirty (" + status.Id + @")"; + isTaxableDirtyCheckBox.Checked = false; } } else @@ -2143,6 +2148,7 @@ namespace AdvertsingProfitControl } else { + isTaxableDirtyCheckBox.Checked = false; informationLabel.Text += @"Taxable updated successfully."; } } @@ -2171,6 +2177,7 @@ namespace AdvertsingProfitControl informationLabel.Text += @"Costs analysis processed successfully."; isCostAnalysisDirtyCheckBox.Tag = status.Id; isCostAnalysisDirtyCheckBox.Text = @"IsCostAnalysisDirty (" + status.Id + @")"; + isCostAnalysisDirtyCheckBox.Checked = false; } } else @@ -2183,6 +2190,7 @@ namespace AdvertsingProfitControl } else { + isCostAnalysisDirtyCheckBox.Checked = false; informationLabel.Text += @"Cost analysis updated successfully."; } }