bloxstrap/Bloxstrap/UI/IBootstrapperDialog.cs
bluepilledgreat bcb5fc3791 add taskbar progress bar
does not support winform bootstrappers
2024-08-26 19:33:46 +01:00

23 lines
663 B
C#

using System.Windows.Forms;
using System.Windows.Shell;
namespace Bloxstrap.UI
{
public interface IBootstrapperDialog
{
public Bootstrapper? Bootstrapper { get; set; }
string Message { get; set; }
ProgressBarStyle ProgressStyle { get; set; }
int ProgressValue { get; set; }
int ProgressMaximum { get; set; }
TaskbarItemProgressState TaskbarProgressState { get; set; }
double TaskbarProgressValue { get; set; }
bool CancelEnabled { get; set; }
void ShowBootstrapper();
void CloseBootstrapper();
void ShowSuccess(string message, Action? callback = null);
}
}