using Rs.MotionPlat.Flow; 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 Rs.MotionPlat { public partial class FlowStatusForm : BaseFormHeader { public FlowStatusForm() { InitializeComponent(); } private void timer1_Tick(object sender, EventArgs e) { if(lblDischangeStatus.Text!=DischargeFlow.Instance.GetCurStep()) { lblDischangeStatus.Text= DischargeFlow.Instance.GetCurStep(); } } private void FlowStatusForm_Load(object sender, EventArgs e) { timer1.Enabled = true; } } }