This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user