LoadingIndicator.Winforms 1.0.3

Winforms long operation indicator.

Install-Package LoadingIndicator.Winforms -Version 1.0.3
dotnet add package LoadingIndicator.Winforms --version 1.0.3
<PackageReference Include="LoadingIndicator.Winforms" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LoadingIndicator.Winforms --version 1.0.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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.3 598 3/15/2019
1.0.1 201 1/25/2019
1.0.0 112 1/25/2019
0.2.5 213 11/26/2018
0.2.4 186 11/19/2018
0.2.3 201 10/23/2018
0.2.2 192 10/16/2018
0.2.1 180 10/11/2018
0.1.3 202 10/1/2018
0.1.2 323 9/17/2018
0.1.1 435 6/29/2018
0.0.14 221 6/4/2018
0.0.12 215 5/15/2018
0.0.11 200 5/15/2018
0.0.10 250 5/8/2018
0.0.9 260 4/24/2018
0.0.8 215 4/19/2018
0.0.7 252 4/12/2018
0.0.6 216 4/12/2018
0.0.5 208 4/11/2018