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 // This class gathers all global variable
using MySql.Data.MySqlClient;
internal class Globals internal class Globals
{ {

View File

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

View File

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

View File

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

View File

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