ricaun / RevitAddin_ProgressBar

RevitAddin ProgressBar Sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

RevitAddin ProgressBar Sample

License:MIT License


Languages

Language:C# 100.0%