This commit is contained in:
parent
db6c44f96e
commit
8ef4ae0fb3
@ -220,8 +220,8 @@ namespace VEPROMS
|
||||
}
|
||||
private void frmVEPROMS_Load(object sender, EventArgs e)
|
||||
{
|
||||
string debugMode = ConfigurationManager.AppSettings["Debug"];
|
||||
VlnSettings.DebugMode = bool.Parse(debugMode); // set debug for the Volian.Controls.Library
|
||||
//string debugMode = ConfigurationManager.AppSettings["Debug"];
|
||||
//VlnSettings.DebugMode = bool.Parse(debugMode); // set debug for the Volian.Controls.Library
|
||||
// get the saved location and size of the VE-PROMS appication for this user
|
||||
if (Settings.Default["Location"] != null) this.Location = Settings.Default.Location;
|
||||
if (Settings.Default["Size"] != null) this.Size = Settings.Default.Size;
|
||||
|
@ -229,7 +229,7 @@ namespace VEPROMS
|
||||
// is why the more explicit logic was done.
|
||||
//ppChbxDisAutoDuplex.Visible = _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex;
|
||||
//ppLblAutoDuplexDefault.Visible = ppBtnDeftDisAutoDuplx.Visible = ppLblAutoDuplexDefault.Visible;
|
||||
if (_DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex)
|
||||
if (_DocVersionConfig.MyDocVersion.MyFormat != null && _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex)
|
||||
{
|
||||
ppChbxDisAutoDuplex.Visible = true;
|
||||
ppLblAutoDuplexDefault.Visible = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user