This commit is contained in:
2012-04-12 16:33:18 +00:00
parent d445039c7f
commit 00dc6448c2
4 changed files with 96 additions and 48 deletions

View File

@@ -290,6 +290,9 @@ namespace VEPROMS
ppCbIncTOC.Enabled = true;
ppCbIncTOC.Checked = _SectionConfig.Section_TOC == "Y";
}
if (!_SectionConfig.MySection.MySectionInfo.IsStepSection)
cbKeepWordDocMargins.Checked = _SectionConfig.Section_WordMargin == "Y";
_Initializing = false;
}
@@ -772,6 +775,7 @@ namespace VEPROMS
//lblPrintSize.Visible = !_isStepSection;
//ppCmbxAccPgPrintSize.Visible = !_isStepSection;
ppGpbxSignoffCheckoff.Visible = _isStepSection;
cbKeepWordDocMargins.Visible = !_isStepSection;
}
private void rbStepSect_CheckedChanged(object sender, EventArgs e)
@@ -861,6 +865,13 @@ namespace VEPROMS
_SectionConfig.Section_CheckoffHeaderSelection = selindx;
}
private void cbKeepWordDocMargins_CheckedChanged(object sender, EventArgs e)
{
bool doWordMargin = cbKeepWordDocMargins.Checked;
if (!_Initializing)
_SectionConfig.Section_WordMargin = doWordMargin ? "Y" : "N";
}
//private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e)
//{
// // Get the parent setting