diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 0ffa972d..2f9244d7 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -345,7 +345,7 @@ namespace VEPROMS void tv_PauseRefresh(object sender, vlnTreeSectionInfoEventArgs args) { //_MyLog.WarnFormat("Pause"); - PauseRefresh = true; + //PauseRefresh = true; } private void SetupFolder(int folderID) { @@ -1316,12 +1316,12 @@ namespace VEPROMS //System.Diagnostics.Process xyzzy = System.Diagnostics.Process.GetCurrentProcess(); if (!System.Diagnostics.Debugger.IsAttached)// running in Production Mode (Not in the debugger) { - System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(this.PingSession); - MyActivityTimer = new System.Threading.Timer(timerDelegate, autoEvent, 10000, 10000); - System.Threading.Thread.Sleep(5000); - System.Threading.TimerCallback timerRefresh = new System.Threading.TimerCallback(this.StartRefreshChanged); - RefreshTimer.Enabled = true; - MyRefreshTimer = new System.Threading.Timer(timerRefresh, autoEvent, 10000, 10000); + System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(this.PingSession); + MyActivityTimer = new System.Threading.Timer(timerDelegate, autoEvent, 10000, 10000); + // System.Threading.Thread.Sleep(5000); + // System.Threading.TimerCallback timerRefresh = new System.Threading.TimerCallback(this.StartRefreshChanged); + // RefreshTimer.Enabled = true; + // MyRefreshTimer = new System.Threading.Timer(timerRefresh, autoEvent, 10000, 10000); } //string debugMode = ConfigurationManager.AppSettings["Debug"];