SimpleProgressWindow 1.2.8594.18064

dotnet add package SimpleProgressWindow --version 1.2.8594.18064
                    
NuGet\Install-Package SimpleProgressWindow -Version 1.2.8594.18064
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimpleProgressWindow" Version="1.2.8594.18064" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleProgressWindow" Version="1.2.8594.18064" />
                    
Directory.Packages.props
<PackageReference Include="SimpleProgressWindow" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SimpleProgressWindow --version 1.2.8594.18064
                    
#r "nuget: SimpleProgressWindow, 1.2.8594.18064"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SimpleProgressWindow@1.2.8594.18064
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SimpleProgressWindow&version=1.2.8594.18064
                    
Install as a Cake Addin
#tool nuget:?package=SimpleProgressWindow&version=1.2.8594.18064
                    
Install as a Cake Tool

Simple code that can be used to asynchronously report the progress of operations

v1.2 updates:

  • fixed issue with auto close of progress window when operations are completed (it would close whether operations finished successfully or failed)
  • now only closes automatically if operations were successful
  • default closeout time set to 3 seconds

v1.1 updates:

  • Option to set the window to close once operations are finished (SetCloseOnFinish method)
    • first argument is bool option to close window, second is timeout before close in msec
    • call this method in the constructor of the new class (default is set to leave window up until user closes window)
  • Updated UI to report the time elapsed since start of running
  • Added protected method to grab the elapsed time in the class derived from simplemtbase

To use:

  • In your code, create a new class
  • add 'using SimpleProgressWindow;' to using directives
  • Make the class derive from SimpleMTBase
  • Implement override of virtual function Run in the newly created class: e.g., public override bool Run() { }
  • Create an instance of this new class.
  • Call the execute function of this class (contained in SimpleMTBase)
  • Add function calls inside the overridden Run function in the newly created class
  • Use UpdateUILabel and ProvideUIUpdate to update the progress window

Alt text

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SimpleProgressWindow:

Package Downloads
CTStitcher

Package for concatenating CT images together

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.8594.18064 462 7/13/2023
1.1.8563.29216 214 6/12/2023
1.0.0 204 5/30/2023