Code cleanup

This commit is contained in:
szporowolik
2019-10-20 15:00:24 +02:00
parent fc009892f2
commit 61e201b261
7 changed files with 59 additions and 63 deletions

View File

@@ -1,5 +1,4 @@
// This class gathers all global variable
using MySql.Data.MySqlClient;
internal class Globals
{

View File

@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class LogController
{

View File

@@ -1,5 +1,4 @@
using System;
using System.Threading;
using System.Windows.Forms;
namespace Perun_v1

View File

@@ -124,7 +124,8 @@ public class TCPController
}
}
}
} else
}
else
{
bTCPConnectionOnline = false;
}

View File

@@ -1,9 +1,9 @@
using System;
using Newtonsoft.Json;
using System;
using System.Diagnostics;
using System.Drawing;
using System.Threading;
using System.Windows.Forms;
using Newtonsoft.Json;
namespace Perun_v1
{
@@ -364,7 +364,8 @@ namespace Perun_v1
}
}
Globals.bGUILogHistoryUpdate = false;
} else
}
else
{
// Do nothing , control does not require update
}