Turned off the multi user (Concurrent User) logic because it was causing problems.

This commit is contained in:
John Jenko 2016-02-15 17:28:11 +00:00
parent 697fbf98f8
commit 37fbb51a32

View File

@ -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)
{
@ -1318,10 +1318,10 @@ namespace VEPROMS
{
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.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"];