mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:05:40 +02:00
Code cleanup
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -124,7 +124,8 @@ public class TCPController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
bTCPConnectionOnline = false;
|
bTCPConnectionOnline = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user