From f3b7bbbbc6bf5674a73f1381c5b4df9e8b2950a6 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Sat, 15 Jul 2023 00:07:36 +0100 Subject: [PATCH] turns out its 2008 and not 2009... --- Bloxstrap/Enums/BootstrapperIcon.cs | 2 +- Bloxstrap/Enums/BootstrapperStyle.cs | 2 +- Bloxstrap/Extensions/BootstrapperIconEx.cs | 2 +- Bloxstrap/Properties/Resources.Designer.cs | 4 ++-- Bloxstrap/UI/Controls.cs | 2 +- ...og2009.Designer.cs => LegacyDialog2008.Designer.cs} | 10 +++++----- .../{LegacyDialog2009.cs => LegacyDialog2008.cs} | 6 +++--- .../{LegacyDialog2009.resx => LegacyDialog2008.resx} | 0 Bloxstrap/UI/ViewModels/Menu/AppearanceViewModel.cs | 6 +++--- 9 files changed, 17 insertions(+), 17 deletions(-) rename Bloxstrap/UI/Elements/Bootstrapper/{LegacyDialog2009.Designer.cs => LegacyDialog2008.Designer.cs} (95%) rename Bloxstrap/UI/Elements/Bootstrapper/{LegacyDialog2009.cs => LegacyDialog2008.cs} (86%) rename Bloxstrap/UI/Elements/Bootstrapper/{LegacyDialog2009.resx => LegacyDialog2008.resx} (100%) diff --git a/Bloxstrap/Enums/BootstrapperIcon.cs b/Bloxstrap/Enums/BootstrapperIcon.cs index 4a44b878..a67185d9 100644 --- a/Bloxstrap/Enums/BootstrapperIcon.cs +++ b/Bloxstrap/Enums/BootstrapperIcon.cs @@ -3,7 +3,7 @@ public enum BootstrapperIcon { IconBloxstrap, - Icon2009, + Icon2008, Icon2011, IconEarly2015, IconLate2015, diff --git a/Bloxstrap/Enums/BootstrapperStyle.cs b/Bloxstrap/Enums/BootstrapperStyle.cs index cade7cbd..2d1b0633 100644 --- a/Bloxstrap/Enums/BootstrapperStyle.cs +++ b/Bloxstrap/Enums/BootstrapperStyle.cs @@ -3,7 +3,7 @@ public enum BootstrapperStyle { VistaDialog, - LegacyDialog2009, + LegacyDialog2008, LegacyDialog2011, ProgressDialog, FluentDialog, diff --git a/Bloxstrap/Extensions/BootstrapperIconEx.cs b/Bloxstrap/Extensions/BootstrapperIconEx.cs index 5b8721b4..dad9cefb 100644 --- a/Bloxstrap/Extensions/BootstrapperIconEx.cs +++ b/Bloxstrap/Extensions/BootstrapperIconEx.cs @@ -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, diff --git a/Bloxstrap/Properties/Resources.Designer.cs b/Bloxstrap/Properties/Resources.Designer.cs index 2e365792..a65c8d7d 100644 --- a/Bloxstrap/Properties/Resources.Designer.cs +++ b/Bloxstrap/Properties/Resources.Designer.cs @@ -115,11 +115,11 @@ internal static System.Drawing.Icon IconBloxstrap /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - 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)); } } diff --git a/Bloxstrap/UI/Controls.cs b/Bloxstrap/UI/Controls.cs index 22a6a61c..34115be9 100644 --- a/Bloxstrap/UI/Controls.cs +++ b/Bloxstrap/UI/Controls.cs @@ -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(), diff --git a/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.Designer.cs b/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.Designer.cs similarity index 95% rename from Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.Designer.cs rename to Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.Designer.cs index d5186946..2da060af 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.Designer.cs +++ b/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.Designer.cs @@ -2,7 +2,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper { - partial class LegacyDialog2009 + partial class LegacyDialog2008 { /// /// Required designer variable. @@ -65,7 +65,7 @@ private void InitializeComponent() 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 @@ private void InitializeComponent() 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); } diff --git a/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.cs b/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.cs similarity index 86% rename from Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.cs rename to Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.cs index f66fdfaa..a84042cb 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.cs +++ b/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.cs @@ -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 @@ protected override bool _cancelEnabled set => this.buttonCancel.Enabled = value; } - public LegacyDialog2009() + public LegacyDialog2008() { InitializeComponent(); @@ -42,7 +42,7 @@ public LegacyDialog2009() SetupDialog(); } - private void LegacyDialog2009_Load(object sender, EventArgs e) + private void LegacyDialog2008_Load(object sender, EventArgs e) { this.Activate(); } diff --git a/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.resx b/Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.resx similarity index 100% rename from Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2009.resx rename to Bloxstrap/UI/Elements/Bootstrapper/LegacyDialog2008.resx diff --git a/Bloxstrap/UI/ViewModels/Menu/AppearanceViewModel.cs b/Bloxstrap/UI/ViewModels/Menu/AppearanceViewModel.cs index 489c8fd9..4e5e6f10 100644 --- a/Bloxstrap/UI/ViewModels/Menu/AppearanceViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Menu/AppearanceViewModel.cs @@ -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 }, }; @@ -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 }, };