Added Edit/Initialized config to the Documents

Check to see if MSWord changes should be saved if PROMS is closing
This commit is contained in:
Rich
2011-05-09 20:38:01 +00:00
parent 58d3fcc524
commit 0b3693fef8
5 changed files with 26 additions and 3 deletions

View File

@@ -67,6 +67,24 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("LibDoc_Comment");
}
}
[Category("Edit")]
[DisplayName("Initialized")]
[Description("Initialized")]
public bool Edit_Initialized
{
get
{
string s = _Xp["Edit", "Initialized"];
if (s == string.Empty) // If there is no value, then default to false
s = "false"; // default
return bool.Parse(s);
}
set
{
_Xp["Edit", "Initialized"] = value.ToString();
OnPropertyChanged("Edit_Initialized");
}
}
// RHM 20110415 - These are now stored in the PDF table.
//[Category("Printing")]
//[DisplayName("Length")]