bloxstrap/Bloxstrap/Dialogs/BootstrapperStyles/LegacyDialog2009.cs
pizzaboxer 462d48fafd Finalize update for v1.2.0
- 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
2022-08-16 23:06:08 +01:00

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();
}
}
}