Files
6150-HMI/CowainHmi/FrmProgress.cs
2026-01-15 15:06:36 +08:00

41 lines
806 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CowainHmi
{
public partial class FrmProgress : Form
{
private int i = 0;
public FrmProgress()
{
InitializeComponent();
}
private void timer1_Tick(object sender, EventArgs e)
{
if (i < 15)
{
this.pgLoad.Value = i;
i++;
}
else
{
this.Close();
}
}
private void FrmProgress_Load(object sender, EventArgs e)
{
this.timer1.Enabled = true;
}
}
}