Generated files saves and registers

This commit is contained in:
2015-07-17 15:19:11 +02:00
parent 83237693df
commit 691cbf23e3
9 changed files with 487 additions and 14 deletions

View File

@ -34,6 +34,7 @@ namespace CobXmlSupport
public bool Values { get; set; }
public bool Wrap { get; set; }
public bool ShowTestbtns { get; set; }
public savedFile[] fileList { get; set; }
public void GetSettings()
{
@ -59,6 +60,7 @@ namespace CobXmlSupport
this.Values = S.ettingValues;
this.Wrap = S.ettingWrap;
this.ShowTestbtns = S.ettingShowTestbtns;
this.fileList = S.ettingList==null?null:S.ettingList.ToArray();
if (evSave != null)
{
@ -91,7 +93,14 @@ namespace CobXmlSupport
S.ettingValues = this.Values;
S.ettingWrap = this.Wrap;
S.ettingShowTestbtns = this.ShowTestbtns;
if (this.fileList != null)
{
foreach (savedFile locSF in this.fileList)
{
S.ettingListAdd(locSF);
}
}
else S.ettingList = null;
}
public object Clone()