Skip to content

Commit

Permalink
turns out its 2008 and not 2009...
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jul 14, 2023
1 parent ade4a89 commit f3b7bbb
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Bloxstrap/Enums/BootstrapperIcon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public enum BootstrapperIcon
{
IconBloxstrap,
Icon2009,
Icon2008,
Icon2011,
IconEarly2015,
IconLate2015,
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/Enums/BootstrapperStyle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public enum BootstrapperStyle
{
VistaDialog,
LegacyDialog2009,
LegacyDialog2008,
LegacyDialog2011,
ProgressDialog,
FluentDialog,
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/Extensions/BootstrapperIconEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static Icon GetIcon(this BootstrapperIcon icon)
return icon switch
{
BootstrapperIcon.IconBloxstrap => Properties.Resources.IconBloxstrap,
BootstrapperIcon.Icon2009 => Properties.Resources.Icon2009,
BootstrapperIcon.Icon2008 => Properties.Resources.Icon2008,
BootstrapperIcon.Icon2011 => Properties.Resources.Icon2011,
BootstrapperIcon.IconEarly2015 => Properties.Resources.IconEarly2015,
BootstrapperIcon.IconLate2015 => Properties.Resources.IconLate2015,
Expand Down
4 changes: 2 additions & 2 deletions Bloxstrap/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Bloxstrap/UI/Controls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static IBootstrapperDialog GetBootstrapperDialog(BootstrapperStyle style)
return style switch
{
BootstrapperStyle.VistaDialog => new VistaDialog(),
BootstrapperStyle.LegacyDialog2009 => new LegacyDialog2009(),
BootstrapperStyle.LegacyDialog2008 => new LegacyDialog2008(),
BootstrapperStyle.LegacyDialog2011 => new LegacyDialog2011(),
BootstrapperStyle.ProgressDialog => new ProgressDialog(),
BootstrapperStyle.FluentDialog => new FluentDialog(),
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
// windows: https://youtu.be/VpduiruysuM?t=18
// mac: https://youtu.be/ncHhbcVDRgQ?t=63

public partial class LegacyDialog2009 : WinFormsDialogBase
public partial class LegacyDialog2008 : WinFormsDialogBase
{
protected override string _message
{
Expand All @@ -34,15 +34,15 @@ protected override bool _cancelEnabled
set => this.buttonCancel.Enabled = value;
}

public LegacyDialog2009()
public LegacyDialog2008()
{
InitializeComponent();

ScaleWindow();
SetupDialog();
}

private void LegacyDialog2009_Load(object sender, EventArgs e)
private void LegacyDialog2008_Load(object sender, EventArgs e)
{
this.Activate();
}
Expand Down
6 changes: 3 additions & 3 deletions Bloxstrap/UI/ViewModels/Menu/AppearanceViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public string Theme
{ "Fluent", BootstrapperStyle.FluentDialog },
{ "Progress (~2014)", BootstrapperStyle.ProgressDialog },
{ "Legacy (2011 - 2014)", BootstrapperStyle.LegacyDialog2011 },
{ "Legacy (2009 - 2011)", BootstrapperStyle.LegacyDialog2009 },
{ "Vista (2009 - 2011)", BootstrapperStyle.VistaDialog },
{ "Legacy (2008 - 2011)", BootstrapperStyle.LegacyDialog2008 },
{ "Vista (2008 - 2011)", BootstrapperStyle.VistaDialog },
{ "Fake Byfron (2023)", BootstrapperStyle.ByfronDialog },
};

Expand All @@ -97,7 +97,7 @@ public string Dialog
{ "Late 2015", BootstrapperIcon.IconLate2015 },
{ "Early 2015", BootstrapperIcon.IconEarly2015 },
{ "2011", BootstrapperIcon.Icon2011 },
{ "2009", BootstrapperIcon.Icon2009 },
{ "2008", BootstrapperIcon.Icon2008 },
{ "Custom", BootstrapperIcon.IconCustom },
};

Expand Down

0 comments on commit f3b7bbb

Please sign in to comment.