Added “AddBlankPagesWhenUsingDuplexFoldouts” under Print Settings

This commit is contained in:
John Jenko 2013-08-29 13:02:49 +00:00
parent c04c6e25bf
commit 2336a70679

View File

@ -757,6 +757,34 @@ namespace VEPROMS.CSLA.Library
} }
} }
} }
[Category("Print Settings")]
[DisplayName("AddBlankPagesWhenUsingDuplexFoldouts")]
[RefreshProperties(RefreshProperties.All)]
[Description("Add Blank Pages in Procedures that Print Duplex Foldouts")]
public bool Print_AddBlankPagesWhenUsingDuplexFoldouts
{
get
{
string s = _Xp["PrintSettings", "AddBlankPagesWhenUsingDuplexFoldouts"];
// If there is no value, then default to true
if (s == string.Empty)
s = "false"; // default
return bool.Parse(s);
}
set
{
if (_SaveChangesToDocVersionConfig)
{
string parval = _Xp.ParentValue("PrintSettings", "AddBlankPagesWhenUsingDuplexFoldouts");
_Xp["PrintSettings", "AddBlankPagesWhenUsingDuplexFoldouts"] = value.ToString();
OnPropertyChanged("Print_AddBlankPagesWhenUsingDuplexFoldouts");
}
}
}
#endregion #endregion
#region Unit // From PROC.INI #region Unit // From PROC.INI
//MultiUnitCount //MultiUnitCount