This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user