January 2012
Intermediate to advanced
396 pages
8h 16m
English
Follow the given steps:

timer1_Tick as shown:Replace listBox1.Items.Add(pendingToken); with
float expectedDelay = tickets.ToList().IndexOf(pendingToken) * 10; listBox1.Items.Add(pendingToken + " Approximate Waiting time " + expectedDelay + " seconds");
Form1 class:string pendingStatusTemplate = "Next three tokens are [Queue]";
timer_2 and add the following code to it. Activate the timer and set the time interval for 2 seconds:private void ...
Read now
Unlock full access