09/13일 작

This commit is contained in:
chikyun.kim
2018-09-14 11:43:45 +09:00
parent 235be47d42
commit 695d53aae7
172 changed files with 33045 additions and 30763 deletions

View File

@@ -1,23 +1,23 @@
/*
* Backgroudn worker
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Project
{
public partial class fMain
{
Boolean bBW = true;
private void bw_DoWork(object sender, DoWorkEventArgs e)
{
while(bBW)
{
System.Threading.Thread.Sleep(1000);
}
}
}
}
/*
* Backgroudn worker
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Project
{
public partial class fMain
{
Boolean bBW = true;
private void bw_DoWork(object sender, DoWorkEventArgs e)
{
while(bBW)
{
System.Threading.Thread.Sleep(1000);
}
}
}
}

View File

@@ -1,29 +1,29 @@
using System;
/*
* Display timer
*/
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
namespace Project
{
public partial class fMain
{
private void tmDisplay_Tick(object sender, EventArgs e)
{
if (bw.IsBusy)
{
if (sbBWRun.BackColor == Color.Lime)
sbBWRun.BackColor = Color.LimeGreen;
else
sbBWRun.BackColor = Color.Lime;
}
else sbBWRun.BackColor = Color.Red;
sbBCD.BackColor = Pub.barcode.IsInit ? Color.Lime : Color.Red;
}
}
}
using System;
/*
* Display timer
*/
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
namespace Project
{
public partial class fMain
{
private void tmDisplay_Tick(object sender, EventArgs e)
{
if (bw.IsBusy)
{
if (sbBWRun.BackColor == Color.Lime)
sbBWRun.BackColor = Color.LimeGreen;
else
sbBWRun.BackColor = Color.Lime;
}
else sbBWRun.BackColor = Color.Red;
sbBCD.BackColor = Pub.barcode.IsInit ? Color.Lime : Color.Red;
}
}
}