Undo previous fix for backspace size – was incomplete solution

improve debug performance (used by developers only)
This commit is contained in:
Kathy Ruffing 2014-09-03 12:20:44 +00:00
parent 48ecbdea36
commit 21353ceb82
5 changed files with 4 additions and 12 deletions

View File

@ -861,7 +861,10 @@ namespace VEPROMS
System.Threading.AutoResetEvent autoEvent = new System.Threading.AutoResetEvent(false);
//System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(MySessionInfo.PingSession);
System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(this.PingSession);
MyActivityTimer = new System.Threading.Timer(timerDelegate, autoEvent, 10000, 10000);
if (!System.Diagnostics.Process.GetCurrentProcess().ProcessName.ToLower().EndsWith("vshost"))
MyActivityTimer = new System.Threading.Timer(timerDelegate, autoEvent, 10000, 10000);
//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

View File

@ -649,14 +649,6 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _DoPrnDrvrAdjusts, "@DoPrnDrvrAdjusts");
}
}
private LazyLoad<float?> _BackSpaceSize;
public float? BackSpaceSize
{
get
{
return LazyLoad(ref _BackSpaceSize, "@BackSpaceSize");
}
}
private LazyLoad<string> _TopOfPageThing;
public string TopOfPageThing
{

View File

@ -412,7 +412,6 @@ public struct GeneralEditor
public struct GeneralPrint
{
public Int16 DoPrnDrvrAdjusts;
public float BackSpaceSize;
public string TopOfPageThing;
/* Format flags moved to here.... */
public string DoRevDate;
@ -4926,7 +4925,6 @@ namespace fmtxml
if (mainFmt.EditData.PromptForCautionType != null && mainFmt.EditData.PromptForCautionType == subFmt.EditData.PromptForCautionType) subFmt.EditData.PromptForCautionType = "null";
if (mainFmt.SectData.StepSectionData.TopRow == subFmt.SectData.StepSectionData.TopRow) subFmt.SectData.StepSectionData.TopRow = NullInt;
if (mainFmt.PrintData.DoPrnDrvrAdjusts == subFmt.PrintData.DoPrnDrvrAdjusts) subFmt.PrintData.DoPrnDrvrAdjusts = NullInt;
if (mainFmt.PrintData.BackSpaceSize == subFmt.PrintData.BackSpaceSize) subFmt.PrintData.BackSpaceSize = NullInt;
if (mainFmt.PrintData.DoRevDate != null && mainFmt.PrintData.DoRevDate == subFmt.PrintData.DoRevDate) subFmt.PrintData.DoRevDate = "null";
if (mainFmt.PrintData.AlternateFoldoutPages != null && mainFmt.PrintData.AlternateFoldoutPages == subFmt.PrintData.AlternateFoldoutPages) subFmt.PrintData.AlternateFoldoutPages = "null";
if (mainFmt.PrintData.AlternateFloatingFoldout != null && mainFmt.PrintData.AlternateFloatingFoldout == subFmt.PrintData.AlternateFloatingFoldout) subFmt.PrintData.AlternateFloatingFoldout = "null";

View File

@ -131,7 +131,6 @@ namespace fmtxml
}
private void AddWCNCKLFmt(ref FormatData fmtdata)
{
fmtdata.PrintData.BackSpaceSize = 21.3f;
fmtdata.BoxData[3].End = 518;
fmtdata.BoxData[4].End = 518;
fmtdata.StepData[30].StepLayoutData.AlignWithParentTab = "True";

Binary file not shown.