B2019-100: UCF check off & check off header issues

This commit is contained in:
2019-08-01 15:01:32 +00:00
parent c6f615bceb
commit 2b74bd52ab
3 changed files with 12 additions and 7 deletions

View File

@@ -87,10 +87,11 @@ namespace Volian.Base.Library
ResetValue(propertyGrid.SelectedGridItem.Parent.Value, "PageLength");
else if (SelectedGridField.Contains("WindowsFont"))
ResetValue(propertyGrid.SelectedGridItem.Parent.Value, "WindowsFont");
else if (SelectedGridField.Contains("Inactive CheckOff Header"))
ResetValue(propertyGrid.SelectedGridItem.Parent.Value, "Inactive");
else if (SelectedGridField.Contains("Inactive CheckOff"))
ResetValue(propertyGrid.SelectedGridItem.Parent.Parent.Value, "Inactive");
// B2019-100: for headers, use Parent's parent and also for both header & checkoffs the field name is 'Active' (not 'Inactive')
else if (SelectedGridField.Contains("Active CheckOff Header"))
ResetValue(propertyGrid.SelectedGridItem.Parent.Parent.Value, "Active");
else if (SelectedGridField.Contains("Active CheckOff"))
ResetValue(propertyGrid.SelectedGridItem.Parent.Parent.Value, "Active");
}
private void ShowReflection(Object data)
{