bloxstrap/Bloxstrap/Dialogs/IBootstrapperDialog.cs
pizzaboxer ff8e68abb2 Break down logic for bootstrapper/dialog handling
The functionality for how bootstrapper dialogs are handled has been broken down to be more relevant to the sections of code.
Bootstrapper initialization and preview configuration are now handled by app startup and the preferences menu respectively, rather than all being handled in the dialog constructor.

Next things to do are handle exceptions and cancellation.
2023-02-11 18:57:58 +00:00

19 lines
469 B
C#

using System.Windows.Forms;
namespace Bloxstrap.Dialogs
{
public interface IBootstrapperDialog
{
string Message { get; set; }
ProgressBarStyle ProgressStyle { get; set; }
int ProgressValue { get; set; }
bool CancelEnabled { get; set; }
void ShowBootstrapper();
void CloseBootstrapper();
void ShowSuccess(string message);
void ShowError(string message);
void PromptShutdown();
}
}