So, I'm quite new to C# programming, and I had a friend help me out. He made this code:
private void Form1_Shown(object sender, EventArgs e)
{
System.Timers.Timer t = new System.Timers.Timer(50);
t.Elapsed += t_Elapsed;
t.Start();
}
void t_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
((System.Timers.Timer)sender).Stop();
DisplayOrder();
}
Which is used to pause the program for a short duration of time, before it "resetting".
Right above the evnthandler itself, it is used like this in a "label_Click" eventhandler:
System.Timers.Timer t = new System.Timers.Timer(500);
t.Elapsed += t_Elapsed;
t.Start();