Change of button-places etc.

This commit is contained in:
2015-07-25 16:53:57 +02:00
parent 6c5a99f59a
commit f9e257cfa5
7 changed files with 141 additions and 61 deletions

View File

@ -13,6 +13,8 @@ namespace CobXmlSupport
private string __rowSource;
private int __startPos;
private int __occNum;
private string moveCode;
private string moveFromCode;
public CobRow(string rowSource)
{
@ -44,11 +46,48 @@ namespace CobXmlSupport
public string LocalKey { get; set; }
public string SampleStr { get; set; }
public string MoveCode { get; set; }
public string Move_Code
{
get
{
return moveCode;
}
}
public string MoveCode {
get {
return " *" + S.strX(' ', 72 - 15 - this.FieldName.Length) + "------" + this.FieldName + "\r\n" +
moveCode +
"\r\n *" + S.strX(' ', 72 - 15 - this.FieldName.Length) + "------" + this.FieldName + "\r\n";
}
set{
moveCode = value;
}
}
//Holding code-parts used when generating moves, to structure
//Could be a Variable, simple or qualified, could be retreival code.
//Will replace "MOVE " when generating move sequences
public string MoveFromCode { get; set; }
public string Move_FromCode
{
get
{
return moveFromCode;
}
}
public string MoveFromCode {
get {
return " *" + S.strX(' ', 72 - 15 - this.FieldName.Length) + "------" + this.FieldName + "\r\n" +
moveFromCode +
"\r\n *" + S.strX(' ', 72 - 15 - this.FieldName.Length) + "------" + this.FieldName + "\r\n";
}
set{
moveFromCode = value;
}
}
//Holding code-parts used when generating moves, from structure
//Could be a Variable, simple or qualified, could be retreival code.
//Will replace "TO " when generating move sequences