This commit is contained in:
Kathy Ruffing 2010-10-20 16:48:24 +00:00
parent db6c44f96e
commit 8ef4ae0fb3
2 changed files with 3 additions and 3 deletions

View File

@ -220,8 +220,8 @@ namespace VEPROMS
} }
private void frmVEPROMS_Load(object sender, EventArgs e) private void frmVEPROMS_Load(object sender, EventArgs e)
{ {
string debugMode = ConfigurationManager.AppSettings["Debug"]; //string debugMode = ConfigurationManager.AppSettings["Debug"];
VlnSettings.DebugMode = bool.Parse(debugMode); // set debug for the Volian.Controls.Library //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 // 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["Location"] != null) this.Location = Settings.Default.Location;
if (Settings.Default["Size"] != null) this.Size = Settings.Default.Size; if (Settings.Default["Size"] != null) this.Size = Settings.Default.Size;

View File

@ -229,7 +229,7 @@ namespace VEPROMS
// is why the more explicit logic was done. // is why the more explicit logic was done.
//ppChbxDisAutoDuplex.Visible = _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex; //ppChbxDisAutoDuplex.Visible = _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex;
//ppLblAutoDuplexDefault.Visible = ppBtnDeftDisAutoDuplx.Visible = ppLblAutoDuplexDefault.Visible; //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; ppChbxDisAutoDuplex.Visible = true;
ppLblAutoDuplexDefault.Visible = true; ppLblAutoDuplexDefault.Visible = true;