Hidden check boxes now update to reflect whether or not they are in need of updating or not.

This commit is contained in:
2016-12-06 12:44:08 -06:00
parent 1398ecd1ab
commit 9ef133a825
+8
View File
@@ -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.";
}
}