$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
WinForms Track and Status Control
Easily customizing Track and Status controls and build interactive and attractive UI
Home > WinForms UI Controls > User Manual > Get Started Waiting Bar in C#

Animation of WaitingBar Control in C#.NET

Kettic WaitingBar control is designed for the developers to show the status of running operation for end users of their Windows application. This control is able to start and stop the waiting animation of the KetticWaitingBar control in various directions, such as Left, Right, Bottom and Top. In addition, this control contains built-in themes for the users easily change the style and appearance of the waiting bar in their Windows application. It also support custom styles that created by the designers.

Guide on Animate Waiting Bar in C# Windows Forms

The following steps demonstrate the process of animating the waiting bar by using the KetticWaitingBar. We can either start or stop the animation of this control in C# Windows Forms application.
  • Open your existing .NET project or create a new Windows Forms application
  • Drag a KetticWaitingBar and a KetticButton from the toolbox and drop them on the form
  • Open the Properties window of the KetticWaitingBar control, click the WaitingDirection property, and then change its value to Bottom
  • Increase the height of the KetticWaitingBar to be larger than the width of the control
  • Open the Properties window of the KetticButton control, click the Text property, and then set its value to Start
  • Click the events button in the Properties window to open the Click event
  • Copy and paste the following C# code to the event handler

private void ketticButton1_Click(object sender, EventArgs e)
{
if (ketticWaitingBar1.IsWaiting)
{
ketticWaitingBar1.StopWaiting();
this.ketticButton1.Text = "Start";
}
else
{
ketticWaitingBar1.StartWaiting();
this.ketticButton1.Text = "Stop";
}
}
  • Run the KetticWaitingBar project for Windows Forms application, and then Click the Start button to start and stop the animation of the waiting bar
UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls