LoadingIndicator.Winforms 0.2.3

Winforms long operation indicator.

There is a newer version of this package available.
See the version list below for details.
Install-Package LoadingIndicator.Winforms -Version 0.2.3
dotnet add package LoadingIndicator.Winforms --version 0.2.3
<PackageReference Include="LoadingIndicator.Winforms" Version="0.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LoadingIndicator.Winforms --version 0.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LoadingIndicator.Winforms, 0.2.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LoadingIndicator.Winforms as a Cake Addin
#addin nuget:?package=LoadingIndicator.Winforms&version=0.2.3

// Install LoadingIndicator.Winforms as a Cake Tool
#tool nuget:?package=LoadingIndicator.Winforms&version=0.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Winforms long operation indicator.

Features:

  • Stop keyboard/mouse action until operation complete
  • Show loading indicator only if operation is really long (by default 700ms)
  • If loading indicator is shown and operation is just completed, prolong this operation to minimum show indicator time (300ms by default) to awoid flickr
  • When operation is really long greyscale and blur parent controls, display colorized loading indicator on top
  • Ability to change color of loading indicator
  • Ability to fully change indicator control

Get Started:

private LongOperation _longOperation;

public MainForm()
{
   InitializeComponents();

   // Initialize long operation with control which will
   // be overlayed during long operations
   _longOperation = new LongOperation(this);

   // You can pass settings to customize indicator view/behavior
   // _longOperation = new LongOperation(this, LongOperationSettings.Default);
}

public async vod DoSomethingLongClick(object sender, EventArgs e)
{
    using(_longOperation.Start())
    {
        await DoSomethingLongAsync();
    }
}

Winforms long operation indicator.

Features:

  • Stop keyboard/mouse action until operation complete
  • Show loading indicator only if operation is really long (by default 700ms)
  • If loading indicator is shown and operation is just completed, prolong this operation to minimum show indicator time (300ms by default) to awoid flickr
  • When operation is really long greyscale and blur parent controls, display colorized loading indicator on top
  • Ability to change color of loading indicator
  • Ability to fully change indicator control

Get Started:

private LongOperation _longOperation;

public MainForm()
{
   InitializeComponents();

   // Initialize long operation with control which will
   // be overlayed during long operations
   _longOperation = new LongOperation(this);

   // You can pass settings to customize indicator view/behavior
   // _longOperation = new LongOperation(this, LongOperationSettings.Default);
}

public async vod DoSomethingLongClick(object sender, EventArgs e)
{
    using(_longOperation.Start())
    {
        await DoSomethingLongAsync();
    }
}

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0-beta 45 3/30/2021
1.0.6 289 2/26/2021
1.0.5 78 2/26/2021
1.0.4 85 2/26/2021
1.0.3 2,458 3/15/2019
1.0.1 465 1/25/2019
1.0.0 387 1/25/2019
0.2.5 464 11/26/2018
0.2.4 445 11/19/2018
0.2.3 462 10/23/2018
0.2.2 454 10/16/2018
0.2.1 452 10/11/2018
0.1.3 458 10/1/2018
0.1.2 600 9/17/2018
0.1.1 732 6/29/2018
0.0.14 516 6/4/2018
0.0.12 517 5/15/2018
0.0.11 498 5/15/2018
0.0.10 530 5/8/2018
0.0.9 545 4/24/2018
0.0.8 518 4/19/2018
0.0.7 540 4/12/2018
0.0.6 489 4/12/2018
0.0.5 499 4/11/2018
Show less