Set thuộc tính của thrStatistics thành BackgroundThread
This commit is contained in:
parent
88e1fb82ef
commit
a5932bebef
|
@ -28,6 +28,7 @@ namespace AIParkingApplication
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Thread thrStatistics = new Thread(new ThreadStart(GetStatistic));
|
Thread thrStatistics = new Thread(new ThreadStart(GetStatistic));
|
||||||
|
thrStatistics.IsBackground = true;
|
||||||
thrStatistics.Start();
|
thrStatistics.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user