initial commit
This commit is contained in:
29
Project/StateMachine/_TMDisplay.cs
Normal file
29
Project/StateMachine/_TMDisplay.cs
Normal file
@@ -0,0 +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;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user