turns out its 2008 and not 2009...

This commit is contained in:
pizzaboxer 2023-07-15 00:07:36 +01:00
parent ade4a89338
commit f3b7bbbbc6
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
9 changed files with 17 additions and 17 deletions

View File

@ -3,7 +3,7 @@
public enum BootstrapperIcon
{
IconBloxstrap,
Icon2009,
Icon2008,
Icon2011,
IconEarly2015,
IconLate2015,

View File

@ -3,7 +3,7 @@
public enum BootstrapperStyle
{
VistaDialog,
LegacyDialog2009,
LegacyDialog2008,
LegacyDialog2011,
ProgressDialog,
FluentDialog,

View File

@ -33,7 +33,7 @@ namespace Bloxstrap.Extensions
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,

View File

@ -115,11 +115,11 @@ namespace Bloxstrap.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon Icon2009
internal static System.Drawing.Icon Icon2008
{
get
{
object obj = ResourceManager.GetObject("Icon2009", resourceCulture);
object obj = ResourceManager.GetObject("Icon2008", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}

View File

@ -47,7 +47,7 @@ namespace Bloxstrap.UI
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(),

View File

@ -2,7 +2,7 @@
namespace Bloxstrap.UI.Elements.Bootstrapper
{
partial class LegacyDialog2009
partial class LegacyDialog2008
{
/// <summary>
/// Required designer variable.
@ -65,7 +65,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
this.buttonCancel.UseVisualStyleBackColor = true;
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
//
// LegacyDialog2009
// LegacyDialog2008
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@ -79,10 +79,10 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
this.MaximumSize = new System.Drawing.Size(327, 161);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(327, 161);
this.Name = "LegacyDialog2009";
this.Name = "LegacyDialog2008";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "LegacyDialog2009";
this.Load += new System.EventHandler(this.LegacyDialog2009_Load);
this.Text = "LegacyDialog2008";
this.Load += new System.EventHandler(this.LegacyDialog2008_Load);
this.ResumeLayout(false);
}

View File

@ -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
{
@ -34,7 +34,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
set => this.buttonCancel.Enabled = value;
}
public LegacyDialog2009()
public LegacyDialog2008()
{
InitializeComponent();
@ -42,7 +42,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
SetupDialog();
}
private void LegacyDialog2009_Load(object sender, EventArgs e)
private void LegacyDialog2008_Load(object sender, EventArgs e)
{
this.Activate();
}

View File

@ -77,8 +77,8 @@ namespace Bloxstrap.UI.ViewModels.Menu
{ "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 },
};
@ -97,7 +97,7 @@ namespace Bloxstrap.UI.ViewModels.Menu
{ "Late 2015", BootstrapperIcon.IconLate2015 },
{ "Early 2015", BootstrapperIcon.IconEarly2015 },
{ "2011", BootstrapperIcon.Icon2011 },
{ "2009", BootstrapperIcon.Icon2009 },
{ "2008", BootstrapperIcon.Icon2008 },
{ "Custom", BootstrapperIcon.IconCustom },
};