diff --git a/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonManager.cs b/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonManager.cs index 2dcb86efd..f1af60c62 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonManager.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonManager.cs @@ -412,10 +412,10 @@ public bool GlobalAllowFormChrome [Category(@"Visuals")] [Description(@"")] [DefaultValue(null)] - public KryptonCustomPaletteManager? CustomPaletteManager - { - get => _customPaletteManager; - set => _customPaletteManager = value; + public KryptonCustomPaletteManager? CustomPaletteManager + { + get => _customPaletteManager; + set => _customPaletteManager = value; } /// Specify a custom palette outside the existing palettes. @@ -423,10 +423,10 @@ public KryptonCustomPaletteManager? CustomPaletteManager [Category(@"Visuals")] [Description(@"Specify a custom palette outside the existing palettes.")] [DefaultValue(null)] - public PaletteBase? CustomPalette - { - get => _customPalette; - set => _customPalette = value; + public PaletteBase? CustomPalette + { + get => _customPalette; + set => _customPalette = value; } #endregion diff --git a/Source/Krypton Components/Krypton.Toolkit/General/GlobalStrings.cs b/Source/Krypton Components/Krypton.Toolkit/General/GlobalStrings.cs index d0f700178..2ea00ad31 100644 --- a/Source/Krypton Components/Krypton.Toolkit/General/GlobalStrings.cs +++ b/Source/Krypton Components/Krypton.Toolkit/General/GlobalStrings.cs @@ -52,6 +52,9 @@ public class GlobalStrings : GlobalId private const string DEFAULT_PASTE = @"Pas&te"; // Accelerator key - T private const string DEFAULT_SELECT_ALL = @"Sel&ect All"; // Accelerator key - E private const string DEFAULT_CLEAR_CLIPBOARD = @"Clear Clipboa&rd"; // Accelerator key - R + private const string DEFAULT_YES_TO_ALL = @"Yes &to All"; // Accelerator key - T + private const string DEFAULT_NO_TO_ALL = @"No t&o All"; // Accelerator key - O + private const string DEFAULT_OK_TO_ALL = @"O&k to All"; // Accelerator key - K // Note: The following may not be needed... /*private const string DEFAULT_MORE_DETAILS = "M&ore Details..."; @@ -108,7 +111,10 @@ public GlobalStrings() Copy.Equals(DEFAULT_COPY) && Paste.Equals(DEFAULT_PASTE) && SelectAll.Equals(DEFAULT_SELECT_ALL) && - ClearClipboard.Equals(DEFAULT_CLEAR_CLIPBOARD); + ClearClipboard.Equals(DEFAULT_CLEAR_CLIPBOARD) && + YesToAll.Equals(DEFAULT_YES_TO_ALL) && + NoToAll.Equals(DEFAULT_NO_TO_ALL) && + OkToAll.Equals(DEFAULT_OK_TO_ALL); // Note: The following may not be needed... /*MoreDetails.Equals(DEFAULT_MORE_DETAILS) && LessDetails.Equals(DEFAULT_LESS_DETAILS);*/ @@ -148,6 +154,9 @@ public void Reset() Paste = DEFAULT_PASTE; SelectAll = DEFAULT_SELECT_ALL; ClearClipboard = DEFAULT_CLEAR_CLIPBOARD; + YesToAll = DEFAULT_YES_TO_ALL; + NoToAll = DEFAULT_NO_TO_ALL; + OkToAll = DEFAULT_OK_TO_ALL; // Note: The following may not be needed... /*MoreDetails = DEFAULT_MORE_DETAILS; @@ -386,6 +395,33 @@ public void Reset() [DefaultValue(DEFAULT_CLEAR_CLIPBOARD)] public string ClearClipboard { get; set; } + /// + /// Gets and sets the Yes to All string used in custom situations. + /// + [Localizable(true)] + [Category(@"Visuals")] + [Description(@"Yes to All string used for custom situations.")] + [DefaultValue(DEFAULT_YES_TO_ALL)] + public string YesToAll { get; set; } + + /// + /// Gets and sets the No to All string used in custom situations. + /// + [Localizable(true)] + [Category(@"Visuals")] + [Description(@"No to All string used for custom situations.")] + [DefaultValue(DEFAULT_NO_TO_ALL)] + public string NoToAll { get; set; } + + /// + /// Gets and sets the Ok to All string used in custom situations. + /// + [Localizable(true)] + [Category(@"Visuals")] + [Description(@"Ok to All string used for custom situations.")] + [DefaultValue(DEFAULT_OK_TO_ALL)] + public string OkToAll { get; set; } + // Note: The following may not be needed... /*/// Gets or sets the more details string used in expandable footers.