mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 00:51:30 -07:00
- Features - Added three new bootstrapper styles (Vista, Legacy 2009 and Progress Dark Theme) - Added ability to disable rich presence activity buttons - Added ability to restore old mouse cursor - Quality of Life - Refactored code for bootstrapper styles
42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
namespace Bloxstrap.Dialogs.BootstrapperStyles
|
|
{
|
|
// windows: https://youtu.be/VpduiruysuM?t=18
|
|
// mac: https://youtu.be/ncHhbcVDRgQ?t=63
|
|
|
|
public partial class LegacyDialog2009 : BootstrapperStyleForm
|
|
{
|
|
public override string Message
|
|
{
|
|
get => labelMessage.Text;
|
|
set => labelMessage.Text = value;
|
|
}
|
|
|
|
public override ProgressBarStyle ProgressStyle
|
|
{
|
|
get => ProgressBar.Style;
|
|
set => ProgressBar.Style = value;
|
|
}
|
|
|
|
public override int ProgressValue
|
|
{
|
|
get => ProgressBar.Value;
|
|
set => ProgressBar.Value = value;
|
|
}
|
|
|
|
public override bool CancelEnabled
|
|
{
|
|
get => this.buttonCancel.Enabled;
|
|
set => this.buttonCancel.Enabled = value;
|
|
}
|
|
|
|
public LegacyDialog2009(Bootstrapper? bootstrapper = null)
|
|
{
|
|
InitializeComponent();
|
|
|
|
Bootstrapper = bootstrapper;
|
|
|
|
SetupDialog();
|
|
}
|
|
}
|
|
}
|