Attrib retrieval even in offloader

This commit is contained in:
2015-11-03 15:13:15 +01:00
parent 3e128794e1
commit 253e3c4adb
2 changed files with 45 additions and 22 deletions

View File

@ -1224,6 +1224,11 @@ namespace CobXmlSupport
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnMoveFrom_Click(object sender, EventArgs e)
{
GenerateFromCode(false);
}
private void GenerateFromCode(bool inclAttr)
{
if (chkNewArea.Checked)
{
@ -1238,7 +1243,7 @@ namespace CobXmlSupport
SF.idConnect = "598A5F20-9A8A-415D-81B2-BBFE04465381";
SF.usageName = S.ettingActualFile.Substring(0, S.ettingActualFile.LastIndexOf(".")) + "_Unload";
SF.fNameSaved = S.ettingActualFile.Substring(0, S.ettingActualFile.LastIndexOf(".")) + "_Unload.cbl";
createXMLMoveCode(SF, true);
createXMLMoveCode(SF, true, inclAttr);
}
else
{
@ -2587,5 +2592,10 @@ namespace CobXmlSupport
createXMLMoveCode(SF, inclAttribs: true);
}
private void btnMoveFromAttr_Click(object sender, EventArgs e)
{
GenerateFromCode(true);
}
}
}