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:
@@ -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")]
|
||||
|
Reference in New Issue
Block a user