This commit is contained in:
gongxh
2021-12-27 21:39:45 +08:00
parent 59eec06d5e
commit a5f3550a5c
6 changed files with 68 additions and 66 deletions

View File

@@ -186,6 +186,8 @@ namespace CleanMachineHMI
private void TTimer_Tick(object sender, EventArgs e)
{
bool b = (_IsOpen?(iNow>=0):(iNow<=iDuration));
if (b)
{
@@ -251,7 +253,7 @@ namespace CleanMachineHMI
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
e.Graphics.SmoothingMode = SmoothingMode.HighQuality;
// e.Graphics.SmoothingMode = SmoothingMode.HighQuality;
Pen penBarBack = new Pen(_CloseColor, _BarHight);
Pen penBarFore = new Pen(_OpenColor, _BarHight);