Added Printing/Length property
This commit is contained in:
parent
4a3cbb7b80
commit
572ff1f085
@ -65,6 +65,23 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("LibDoc_Comment");
|
OnPropertyChanged("LibDoc_Comment");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
[Category("Printing")]
|
||||||
|
[DisplayName("Length")]
|
||||||
|
[Description("Length of Document in Full and Partial Pages")]
|
||||||
|
public float Printing_Length
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
string s = _Xp["Printing", "Length"];// get the saved value
|
||||||
|
|
||||||
|
return float.Parse(s);
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_Xp["Printing", "Length"] = string.Format("{0:0.0000}", value);
|
||||||
|
OnPropertyChanged("Printing_Length");
|
||||||
|
}
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region ToString
|
#region ToString
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user