Background Worker for WaitingBar Control in C#.NET
KetticWaitingBar control is a .NET component that shows a running operation. However, when we execute a long running operation on the same thread, the primary UI thread, as the waiting animation, the KetticWaitingBar will freeze and will not move the indicator. As a result, we cannot update the user interface to the form and cannot perform the waiting animation. To solve this issue, we should add a new UI thread to start the time consuming operation. In the C# tutorial below, we will use the Background Worker to achieve this.
BackgroundWorker for Waiting Bar Animation in C#.NET
The following Windows application uses the BackgroundWorker to create waiting bar animation. The C# code sample below provides the detailed description.
| ![]() UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlProgressBarGet Started in C#CustomizationScrollBarGet Started in C#CustomizationTrackBarGet Started in C#CustomizationModesWaitingBarGet Started in C#Properties & MethodsBackground WorkerCustomizationWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |