Do your Windows Forms have a StatusBar that shows the time to load?
Updated by Brady Stroud [SSW] 1 year ago. See history
In the figure below, the time taken to load the form over a dialup connection is 61.1 seconds, this proves to the developer that the form is not useable over a dialup connection. In this particular case, the developer has called a 'select * from Employees' where it was not needed, only the name, password and ID is needed for this form.
Note: Once the form is loaded and load time is shown, the status bar can be used to show anything useful as the form is being used.

✅ Figure: Good example - Another form with the StatusBar that shows the time to load - very slow on dialup.
Add a StatusBar to the form, and add a StatusBarPanel to the StatusBar, then set the properties like below.

Figure: Add StatusBarPanel to StatusBar
private DateTime StartLoadTime = System.DateTime.Now;private void Form1_Load(object sender, System.EventArgs e){TimeSpan elapsedLoadTime = DateTime.Now.Subtract(StartLoadTime);this.statusBarPanel1.Text = string.Format("Load time: {0} seconds",Math.Round(elapsedLoadTime.TotalSeconds, 1));}
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.