Skip to content

ricaun/RevitAddin_ProgressBar

Repository files navigation

RevitAddin_ProgressBar

Simple ProgressBar created using WPF.

ProgressBarView.xaml

ProgressBar

var count = 1000;
using (var progressBarView = new ProgressBarView($"Title", count))
{
    progressBarView.Show();
    for (int i = 0; i < count; i++)
    {
        // Do something
        if (progressBarView.Update()) break;
    }
}

Vídeo

VideoIma

ProgressBarView2.xaml

ProgressBar2

using (var progressBar2View = new ProgressBar2View())
{
    var count = 1000;
    progressBar2View.Run($"Title", count, (i) =>
    {
        // Do Something
    });
}

Vídeo2

VideoIma2

License

This library is licensed under the MIT Licence.


Do you like this project? Please star this project on GitHub!