mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-23 02:51:26 -07:00
Directly interacting with the dialog via an interface instead of using events, cuts down on a lot of boilerplate
21 lines
533 B
C#
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();
|
|
}
|
|
}
|