hiding of testbutton
This commit is contained in:
@ -68,6 +68,7 @@ namespace CobXmlSupport
|
||||
chkDisplays.Enabled = false;
|
||||
chkPerform.Enabled = false;
|
||||
chkMvToDisp.Enabled = false;
|
||||
btnFrXMLTo.Enabled = false;
|
||||
|
||||
if (cmbLastFile.Text.Length > 0)
|
||||
{
|
||||
@ -181,6 +182,7 @@ namespace CobXmlSupport
|
||||
chkDisplays.Enabled = true;
|
||||
chkPerform.Enabled = true;
|
||||
chkMvToDisp.Enabled = true;
|
||||
btnFrXMLTo.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -649,6 +651,7 @@ namespace CobXmlSupport
|
||||
S.ettingWrap = Properties.Settings.Default.Wrap;
|
||||
S.ettingLogVarName = Properties.Settings.Default.LogVarName;
|
||||
S.ettingLogSectName = Properties.Settings.Default.LogSectName;
|
||||
S.ettingSpecials = Properties.Settings.Default.ShowTestbtns;
|
||||
|
||||
chkAnaTag.Checked = S.ettingAnaTag;
|
||||
chkCountVars.Checked = S.ettingCountVars;
|
||||
@ -662,6 +665,7 @@ namespace CobXmlSupport
|
||||
chkUniqueVars.Checked = S.ettingUniqueVars;
|
||||
chkValues.Checked = S.ettingValues;
|
||||
chkWrap.Checked = S.ettingWrap;
|
||||
btnTestThings.Visible = S.ettingSpecials;
|
||||
|
||||
formLoading = false;
|
||||
cmbLastFile.Text = cmbLastFile.Items[0].ToString();
|
||||
@ -1020,6 +1024,7 @@ namespace CobXmlSupport
|
||||
setWindow.ChkCountVars = S.ettingCountVars;
|
||||
setWindow.LogPost = S.ettingLogVarName;
|
||||
setWindow.LogSection = S.ettingLogSectName;
|
||||
setWindow.ChkShowTestbtns = S.ettingSpecials;
|
||||
|
||||
setWindow.ShowDialog();
|
||||
S.ettingUserName = setWindow.UserName;
|
||||
@ -1038,6 +1043,7 @@ namespace CobXmlSupport
|
||||
S.ettingCountVars = setWindow.ChkCountVars;
|
||||
S.ettingLogVarName = setWindow.LogPost;
|
||||
S.ettingLogSectName = setWindow.LogSection;
|
||||
S.ettingSpecials = setWindow.ChkShowTestbtns;
|
||||
|
||||
chkAnaTag.Checked = S.ettingAnaTag;
|
||||
chkCountVars.Checked = S.ettingCountVars;
|
||||
@ -1051,6 +1057,7 @@ namespace CobXmlSupport
|
||||
txtMaxOcc.Text = S.ettingMaxOcc;
|
||||
txtPrefix.Text = S.ettingPrefix;
|
||||
txtExpPrefix.Text = S.ettingExpPrefix;
|
||||
btnTestThings.Visible = S.ettingSpecials;
|
||||
|
||||
eventRun = false;
|
||||
runXMLgen();
|
||||
|
||||
Reference in New Issue
Block a user