This commit is contained in:
gongxh
2022-03-17 16:34:28 +08:00
parent b06189cb49
commit 5ca18b0b3f
13 changed files with 221 additions and 65 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);