backup switch, adjustment codeintegration
This commit is contained in:
@ -22,6 +22,7 @@ namespace CobXmlSupport
|
||||
private bool tmpChkAnaTag;
|
||||
private bool tmpChkCountVars;
|
||||
private bool tmpShowTestBtns;
|
||||
private bool tmpBackupOwnCode;
|
||||
private string tmpTxtPrefix;
|
||||
private string tmpTxtExpPrefix;
|
||||
private string tmpTxtMaxOcc;
|
||||
@ -184,6 +185,18 @@ namespace CobXmlSupport
|
||||
}
|
||||
}
|
||||
|
||||
public bool ChkBackupOwnCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return chkBackupOwnCode.Checked;
|
||||
}
|
||||
set
|
||||
{
|
||||
chkBackupOwnCode.Checked = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string TxtMaxOcc
|
||||
{
|
||||
get
|
||||
@ -234,6 +247,7 @@ namespace CobXmlSupport
|
||||
Properties.Settings.Default.Values = chkValues.Checked;
|
||||
Properties.Settings.Default.Wrap = chkWrap.Checked;
|
||||
Properties.Settings.Default.ShowTestbtns= chkShowTestbtns.Checked;
|
||||
Properties.Settings.Default.BackupOwnCode = chkBackupOwnCode.Checked;
|
||||
Properties.Settings.Default.LogVarName = txtLogPost.Text;
|
||||
Properties.Settings.Default.LogSectName = txtLogSection.Text;
|
||||
Properties.Settings.Default.Save();
|
||||
@ -253,6 +267,7 @@ namespace CobXmlSupport
|
||||
tmpChkValues = chkValues.Checked;
|
||||
tmpChkAnaTag = chkAnaTag.Checked;
|
||||
tmpShowTestBtns = chkShowTestbtns.Checked;
|
||||
tmpBackupOwnCode = chkBackupOwnCode.Checked;
|
||||
tmpTxtPrefix = txtPrefix.Text;
|
||||
tmpTxtExpPrefix = txtExpPrefix.Text;
|
||||
tmpTxtMaxOcc = txtMaxOcc.Text;
|
||||
@ -274,7 +289,8 @@ namespace CobXmlSupport
|
||||
chkValues.Checked= tmpChkValues;
|
||||
chkAnaTag.Checked= tmpChkAnaTag;
|
||||
chkShowTestbtns.Checked = tmpShowTestBtns;
|
||||
txtPrefix.Text= tmpTxtPrefix;
|
||||
chkBackupOwnCode.Checked = tmpBackupOwnCode;
|
||||
txtPrefix.Text = tmpTxtPrefix;
|
||||
txtExpPrefix.Text = tmpTxtExpPrefix;
|
||||
txtMaxOcc.Text = tmpTxtMaxOcc;
|
||||
txtLogPost.Text= txtLogVarNameTmp;
|
||||
|
||||
Reference in New Issue
Block a user