bloxstrap/Bloxstrap/Dialogs/BootstrapperStyles/IBootstrapperDialog.cs
pizzaboxer 0da759d1f4 Refactor bootstrapper dialog property changing
Directly interacting with the dialog via an interface instead of using events, cuts down on a lot of boilerplate
2022-08-21 23:37:26 +01:00

21 lines
533 B
C#

using Bloxstrap.Helpers.RSMM;
namespace Bloxstrap.Dialogs.BootstrapperStyles
{
public interface IBootstrapperDialog
{
Bootstrapper? Bootstrapper { get; set; }
string Message { get; set; }
ProgressBarStyle ProgressStyle { get; set; }
int ProgressValue { get; set; }
bool CancelEnabled { get; set; }
void RunBootstrapper();
void ShowSuccess(string message);
void ShowError(string message);
void CloseDialog();
void PromptShutdown();
}
}