Skip to content

Latest commit

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

LoadingIndicator

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:

privateLongOperation_longOperation;publicMainForm(){InitializeComponents();// Initialize long operation with control which will// be overlayed during long operations_longOperation=newLongOperation(this);// You can pass settings to customize indicator view/behavior// _longOperation = new LongOperation(this, LongOperationSettings.Default);}publicasyncvodDoSomethingLongClick(objectsender,EventArgse){using(_longOperation.Start()){awaitDoSomethingLongAsync();}}

Screenshots:

Indicator shown:

Indicator example

Indicator example

Before:

Before show indicator

About

Winforms long operation indicator.

Resources

Stars

47 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages