Added Printing/Length property

This commit is contained in:
Rich 2010-02-02 20:52:31 +00:00
parent 4a3cbb7b80
commit 572ff1f085

View File

@ -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()