From e84903c606e45a5ce847b80762551afc50e1bd21 Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Sun, 20 Aug 2023 09:32:04 +0100 Subject: [PATCH] * #430 --- .github/ISSUE_TEMPLATE/bug_report.md | 33 +++++ .github/ISSUE_TEMPLATE/feature-request.md | 20 +++ .github/ISSUE_TEMPLATE/other-issues.md | 10 ++ .github/ISSUE_TEMPLATE/post-a-question.md | 10 ++ .github/workflows/codeql.yml | 76 +++++++++++ .../Krypton Toolkit/Examples/Examples.csproj | 4 +- .../ExtendedControlExamples.Designer.cs | 16 +-- .../Examples/ExtendedControlExamples.cs | 2 +- ...tonProgressBarExtendedExamples.Designer.cs | 114 +++++++++++++++++ .../KryptonProgressBarExtendedExamples.cs | 29 +++++ .../KryptonProgressBarExtendedExamples.resx | 120 ++++++++++++++++++ .../Examples/MainWindow.Designer.cs | 28 ++-- Source/Krypton Toolkit/Examples/MainWindow.cs | 7 + ...n Toolkit Suite Extended 2022 - VS2022.sln | 12 ++ ....Extended.AdvancedDataGridView 2022.csproj | 2 +- ...Toolkit.Suite.Extended.Buttons 2022.csproj | 2 +- .../Classes/CalendarDay.cs | 2 +- ...oolkit.Suite.Extended.Calendar 2022.csproj | 2 +- ....Suite.Extended.CheckSum.Tools 2022.csproj | 2 +- ....Extended.Circular.ProgressBar 2022.csproj | 2 +- ...oolkit.Suite.Extended.ComboBox 2022.csproj | 2 +- ....Toolkit.Suite.Extended.Common 2022.csproj | 2 +- ...kit.Suite.Extended.Compression 2022.csproj | 2 +- ...sion2.cs => KryptonProgressBarExtended.cs} | 22 ++-- .../KryptonProgressBarExtendedVersion1.cs | 1 + ...oolkit.Suite.Extended.Controls 2022.csproj | 2 +- ...on.Toolkit.Suite.Extended.Core 2022.csproj | 8 +- ...te.Extended.Data.Visualisation 2022.csproj | 2 +- ...it.Suite.Extended.DataGridView 2022.csproj | 2 +- ...e.Extended.Developer.Utilities 2022.csproj | 2 +- ...Toolkit.Suite.Extended.Dialogs 2022.csproj | 2 +- ...t.Suite.Extended.Dock.Extender 2022.csproj | 2 +- ...ite.Extended.Drawing.Utilities 2022.csproj | 2 +- ...Toolkit.Suite.Extended.Drawing 2022.csproj | 2 +- ...Toolkit.Suite.Extended.Effects 2022.csproj | 2 +- ...Suite.Extended.Error.Reporting 2022.csproj | 4 +- ...kit.Suite.Extended.File.Copier 2022.csproj | 2 +- ...ite.Extended.Floating.Toolbars 2022.csproj | 2 +- .../General/ShadowManager.cs | 4 +- ...n.Toolkit.Suite.Extended.Forms 2022.csproj | 2 +- ...uite.Extended.Global.Utilities 2022.csproj | 2 +- ...pton.Toolkit.Suite.Extended.IO 2022.csproj | 2 +- ...oolkit.Suite.Extended.InputBox 2022.csproj | 2 +- ....Suite.Extended.Language.Model 2022.csproj | 2 +- ...lkit.Suite.Extended.Memory.Box 2022.csproj | 2 +- ...lkit.Suite.Extended.Messagebox 2022.csproj | 2 +- ...lkit.Suite.Extended.Navi.Suite 2022.csproj | 2 +- ...olkit.Suite.Extended.Navigator 2022.csproj | 4 +- ...lkit.Suite.Extended.Networking 2022.csproj | 2 +- ...t.Suite.Extended.Notifications 2022.csproj | 2 +- ...it.Suite.Extended.Outlook.Grid 2022.csproj | 2 +- ....Toolkit.Suite.Extended.Panels 2022.csproj | 2 +- ...olkit.Suite.Extended.Resources 2022.csproj | 2 +- ....Toolkit.Suite.Extended.Ribbon 2022.csproj | 4 +- ...oolkit.Suite.Extended.Settings 2022.csproj | 2 +- .../Converters/PaletteModeConverter.cs | 5 +- ....Toolkit.Suite.Extended.Shared 2022.csproj | 2 +- ...Extended.Software.Updater.Core 2022.csproj | 8 +- .../Auto Updater/General/AutoUpdater.cs | 1 + .../UX/DownloadUpdateDialog.Designer.cs | 1 - ...uite.Extended.Software.Updater 2022.csproj | 2 +- ...parkleCheckingForUpdatesWindow.Designer.cs | 1 - .../UX/NetSparkleCheckingForUpdatesWindow.cs | 1 + ...tSparkleDownloadProgressWindow.Designer.cs | 1 - .../UX/NetSparkleDownloadProgressWindow.cs | 1 + .../UX/NetSparkleUpdateAvailableWindow.cs | 1 + ...e.Extended.Specialised.Dialogs 2022.csproj | 2 +- ....Suite.Extended.Theme.Switcher 2022.csproj | 4 +- ...n.Toolkit.Suite.Extended.Toast 2022.csproj | 2 +- ...sicNotificationWithProgressBar.Designer.cs | 11 +- .../BasicNotificationWithProgressBar.resx | 14 +- ...onWithProgressBarAlternativeUI.Designer.cs | 11 +- ...ificationWithProgressBarAlternativeUI.resx | 14 +- ...WithUserResponseAndProgressBar.Designer.cs | 11 +- ...icationWithUserResponseAndProgressBar.resx | 14 +- ...onseWrappedLabelAndProgressBar.Designer.cs | 12 +- ...t.Suite.Extended.Toggle.Switch 2022.csproj | 2 +- ...oolkit.Suite.Extended.Tool.Box 2022.csproj | 2 +- ...uite.Extended.Tool.Strip.Items 2022.csproj | 2 +- ...it.Suite.Extended.TreeGridView 2022.csproj | 2 +- ...olkit.Suite.Extended.Utilities 2022.csproj | 2 +- ...Extended.VirtualTreeColumnView 2022.csproj | 2 +- ....Toolkit.Suite.Extended.Wizard 2022.csproj | 2 +- .../ZipExtractorWindow.Designer.cs | 1 - .../ZipExtractor/ZipExtractor.csproj | 2 +- 85 files changed, 579 insertions(+), 153 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature-request.md create mode 100644 .github/ISSUE_TEMPLATE/other-issues.md create mode 100644 .github/ISSUE_TEMPLATE/post-a-question.md create mode 100644 .github/workflows/codeql.yml create mode 100644 Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.Designer.cs create mode 100644 Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.cs create mode 100644 Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.resx rename Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/{KryptonProgressBarExtendedVersion2.cs => KryptonProgressBarExtended.cs} (95%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..33284a2d0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,33 @@ +--- +name: Bug report +about: Create a report to help us improve +title: "[Bug]: " +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. Windows 11] + - Version: [e.g. 10.0.22000] + - Framework/.NET Version: [e.g. 4.8.1] + - Toolkit Version: [e.g. 70.22.12.312] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 000000000..39840890e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: "[Feature Request]: " +labels: enhancement, new feature, suggestion +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/other-issues.md b/.github/ISSUE_TEMPLATE/other-issues.md new file mode 100644 index 000000000..102abb466 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other-issues.md @@ -0,0 +1,10 @@ +--- +name: Other Issues +about: Any other issues that do not fall into one of the current categories. +title: "[Other Issues]: " +labels: discussion, other +assignees: '' + +--- + + diff --git a/.github/ISSUE_TEMPLATE/post-a-question.md b/.github/ISSUE_TEMPLATE/post-a-question.md new file mode 100644 index 000000000..7395eb3f0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/post-a-question.md @@ -0,0 +1,10 @@ +--- +name: Post a Question +about: Got a question to ask? Use this template to share with us. +title: "[Question]: " +labels: discussion, question +assignees: '' + +--- + + diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..0c48befe3 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,76 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ "alpha" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "alpha" ] + schedule: + - cron: '26 2 * * 2' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'csharp' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Use only 'java' to analyze code written in Java, Kotlin or both + # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both + # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + + # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # ℹ️ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}" diff --git a/Source/Krypton Toolkit/Examples/Examples.csproj b/Source/Krypton Toolkit/Examples/Examples.csproj index e5481c822..06ca7f7a3 100644 --- a/Source/Krypton Toolkit/Examples/Examples.csproj +++ b/Source/Krypton Toolkit/Examples/Examples.csproj @@ -51,8 +51,8 @@ - - + + diff --git a/Source/Krypton Toolkit/Examples/ExtendedControlExamples.Designer.cs b/Source/Krypton Toolkit/Examples/ExtendedControlExamples.Designer.cs index 25685005c..73c7fce07 100644 --- a/Source/Krypton Toolkit/Examples/ExtendedControlExamples.Designer.cs +++ b/Source/Krypton Toolkit/Examples/ExtendedControlExamples.Designer.cs @@ -38,7 +38,7 @@ private void InitializeComponent() this.kkcv2Test = new Krypton.Toolkit.Suite.Extended.Controls.KryptonKnobControlVersion2(); this.kryptonMarqueeLabel1 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonMarqueeLabel(); this.kryptonProgressBarExtendedVersion11 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtendedVersion1(); - this.kryptonProgressBarExtendedVersion21 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtendedVersion2(); + this.kryptonProgressBarExtended1 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtended(); this.kryptonSecureTextBox1 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonSecureTextBox(); this.kryptonStarRatingControl1 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonStarRatingControl(); this.kryptonValidationBox1 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonValidationBox(); @@ -52,7 +52,7 @@ private void InitializeComponent() this.kryptonPanel1.Controls.Add(this.kryptonValidationBox1); this.kryptonPanel1.Controls.Add(this.kryptonStarRatingControl1); this.kryptonPanel1.Controls.Add(this.kryptonSecureTextBox1); - this.kryptonPanel1.Controls.Add(this.kryptonProgressBarExtendedVersion21); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBarExtended1); this.kryptonPanel1.Controls.Add(this.kryptonProgressBarExtendedVersion11); this.kryptonPanel1.Controls.Add(this.kryptonMarqueeLabel1); this.kryptonPanel1.Controls.Add(this.kkcv2Test); @@ -155,11 +155,11 @@ private void InitializeComponent() // // kryptonProgressBarExtendedVersion21 // - this.kryptonProgressBarExtendedVersion21.Location = new System.Drawing.Point(601, 52); - this.kryptonProgressBarExtendedVersion21.Name = "kryptonProgressBarExtendedVersion21"; - this.kryptonProgressBarExtendedVersion21.Size = new System.Drawing.Size(264, 23); - this.kryptonProgressBarExtendedVersion21.TabIndex = 6; - this.kryptonProgressBarExtendedVersion21.Text = "0%"; + this.kryptonProgressBarExtended1.Location = new System.Drawing.Point(601, 52); + this.kryptonProgressBarExtended1.Name = "kryptonProgressBarExtended1"; + this.kryptonProgressBarExtended1.Size = new System.Drawing.Size(264, 23); + this.kryptonProgressBarExtended1.TabIndex = 6; + this.kryptonProgressBarExtended1.Text = "0%"; // // kryptonSecureTextBox1 // @@ -226,7 +226,7 @@ private void InitializeComponent() private Krypton.Toolkit.Suite.Extended.Controls.KryptonKnobControlVersion2 kkcv2Test; private Krypton.Toolkit.Suite.Extended.Controls.KryptonMarqueeLabel kryptonMarqueeLabel1; private Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtendedVersion1 kryptonProgressBarExtendedVersion11; - private Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtendedVersion2 kryptonProgressBarExtendedVersion21; + private Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtended kryptonProgressBarExtended1; private Krypton.Toolkit.Suite.Extended.Controls.KryptonSecureTextBox kryptonSecureTextBox1; private Krypton.Toolkit.Suite.Extended.Controls.KryptonStarRatingControl kryptonStarRatingControl1; private Krypton.Toolkit.Suite.Extended.Controls.KryptonValidationBox kryptonValidationBox1; diff --git a/Source/Krypton Toolkit/Examples/ExtendedControlExamples.cs b/Source/Krypton Toolkit/Examples/ExtendedControlExamples.cs index f4efdf839..d46a19dd5 100644 --- a/Source/Krypton Toolkit/Examples/ExtendedControlExamples.cs +++ b/Source/Krypton Toolkit/Examples/ExtendedControlExamples.cs @@ -24,7 +24,7 @@ private void kkcv1Test_ValueChanged(object sender, Krypton.Toolkit.Suite.Extende private void kkcv2Test_ValueChanged(object sender, Krypton.Toolkit.Suite.Extended.Controls.KnobValueChangedEventArgs e) { - kryptonProgressBarExtendedVersion21.Value = kkcv2Test.Value; + kryptonProgressBarExtended1.Value = kkcv2Test.Value; } } } diff --git a/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.Designer.cs b/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.Designer.cs new file mode 100644 index 000000000..5782f397a --- /dev/null +++ b/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.Designer.cs @@ -0,0 +1,114 @@ +namespace Examples +{ + partial class KryptonProgressBarExtendedExamples + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); + this.kryptonProgressBarExtended1 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtended(); + this.kryptonProgressBar1 = new Krypton.Toolkit.KryptonProgressBar(); + this.kryptonProgressBarExtendedVersion11 = new Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtendedVersion1(); + this.ktbValue = new Krypton.Toolkit.KryptonTrackBar(); + ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); + this.kryptonPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // kryptonPanel1 + // + this.kryptonPanel1.Controls.Add(this.ktbValue); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBarExtendedVersion11); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBarExtended1); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBar1); + this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.kryptonPanel1.Location = new System.Drawing.Point(0, 0); + this.kryptonPanel1.Name = "kryptonPanel1"; + this.kryptonPanel1.Size = new System.Drawing.Size(409, 166); + this.kryptonPanel1.TabIndex = 0; + // + // kryptonProgressBarExtended1 + // + this.kryptonProgressBarExtended1.ForeColor = System.Drawing.Color.Empty; + this.kryptonProgressBarExtended1.Location = new System.Drawing.Point(12, 85); + this.kryptonProgressBarExtended1.Name = "kryptonProgressBarExtended1"; + this.kryptonProgressBarExtended1.Size = new System.Drawing.Size(383, 26); + this.kryptonProgressBarExtended1.TabIndex = 1; + this.kryptonProgressBarExtended1.Text = "0%"; + // + // kryptonProgressBar1 + // + this.kryptonProgressBar1.Location = new System.Drawing.Point(12, 52); + this.kryptonProgressBar1.Name = "kryptonProgressBar1"; + this.kryptonProgressBar1.Size = new System.Drawing.Size(383, 26); + this.kryptonProgressBar1.StateCommon.Back.Color1 = System.Drawing.Color.Green; + this.kryptonProgressBar1.StateDisabled.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar1.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar1.TabIndex = 0; + this.kryptonProgressBar1.Text = "kryptonProgressBar1"; + this.kryptonProgressBar1.Values.Text = "kryptonProgressBar1"; + // + // kryptonProgressBarExtendedVersion11 + // + this.kryptonProgressBarExtendedVersion11.BackColor = System.Drawing.Color.Transparent; + this.kryptonProgressBarExtendedVersion11.Location = new System.Drawing.Point(12, 118); + this.kryptonProgressBarExtendedVersion11.Name = "kryptonProgressBarExtendedVersion11"; + this.kryptonProgressBarExtendedVersion11.Size = new System.Drawing.Size(383, 32); + this.kryptonProgressBarExtendedVersion11.TabIndex = 2; + // + // ktbValue + // + this.ktbValue.Location = new System.Drawing.Point(13, 13); + this.ktbValue.Maximum = 100; + this.ktbValue.Name = "ktbValue"; + this.ktbValue.Size = new System.Drawing.Size(382, 33); + this.ktbValue.TabIndex = 3; + this.ktbValue.TickStyle = System.Windows.Forms.TickStyle.Both; + this.ktbValue.ValueChanged += new System.EventHandler(this.ktbValue_ValueChanged); + // + // KryptonProgressBarExtendedExamples + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(409, 166); + this.Controls.Add(this.kryptonPanel1); + this.Name = "KryptonProgressBarExtendedExamples"; + this.Text = "KryptonProgressBarExtendedExamples"; + ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); + this.kryptonPanel1.ResumeLayout(false); + this.kryptonPanel1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private KryptonPanel kryptonPanel1; + private KryptonProgressBar kryptonProgressBar1; + private Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtended kryptonProgressBarExtended1; + private Krypton.Toolkit.Suite.Extended.Controls.KryptonProgressBarExtendedVersion1 kryptonProgressBarExtendedVersion11; + private KryptonTrackBar ktbValue; + } +} \ No newline at end of file diff --git a/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.cs b/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.cs new file mode 100644 index 000000000..bd136df2b --- /dev/null +++ b/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Examples +{ + public partial class KryptonProgressBarExtendedExamples : KryptonForm + { + public KryptonProgressBarExtendedExamples() + { + InitializeComponent(); + } + + private void ktbValue_ValueChanged(object sender, EventArgs e) + { + kryptonProgressBar1.Value = (int)ktbValue.Value; + + kryptonProgressBarExtended1.Value = (int)ktbValue.Value; + + kryptonProgressBarExtendedVersion11.Value = (int)ktbValue.Value; + } + } +} diff --git a/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.resx b/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.resx new file mode 100644 index 000000000..1af7de150 --- /dev/null +++ b/Source/Krypton Toolkit/Examples/KryptonProgressBarExtendedExamples.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Source/Krypton Toolkit/Examples/MainWindow.Designer.cs b/Source/Krypton Toolkit/Examples/MainWindow.Designer.cs index 52370b3a3..1994967f3 100644 --- a/Source/Krypton Toolkit/Examples/MainWindow.Designer.cs +++ b/Source/Krypton Toolkit/Examples/MainWindow.Designer.cs @@ -30,6 +30,7 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow)); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); + this.kbtnMemoryBoxExample = new Krypton.Toolkit.KryptonButton(); this.kbtnRibbonExtended = new Krypton.Toolkit.KryptonButton(); this.kbtnThemeTools = new Krypton.Toolkit.KryptonButton(); this.kbtnDockExtenderExample = new Krypton.Toolkit.KryptonButton(); @@ -51,13 +52,14 @@ private void InitializeComponent() this.kbtnCircularProgressBarItem = new Krypton.Toolkit.KryptonButton(); this.ktnToolStripItems = new Krypton.Toolkit.KryptonButton(); this.kbtnButtonItems = new Krypton.Toolkit.KryptonButton(); - this.kbtnMemoryBoxExample = new Krypton.Toolkit.KryptonButton(); + this.kbtnProgressBars = new Krypton.Toolkit.KryptonButton(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // + this.kryptonPanel1.Controls.Add(this.kbtnProgressBars); this.kryptonPanel1.Controls.Add(this.kbtnMemoryBoxExample); this.kryptonPanel1.Controls.Add(this.kbtnRibbonExtended); this.kryptonPanel1.Controls.Add(this.kbtnThemeTools); @@ -86,6 +88,15 @@ private void InitializeComponent() this.kryptonPanel1.Size = new System.Drawing.Size(620, 390); this.kryptonPanel1.TabIndex = 0; // + // kbtnMemoryBoxExample + // + this.kbtnMemoryBoxExample.Location = new System.Drawing.Point(127, 154); + this.kbtnMemoryBoxExample.Name = "kbtnMemoryBoxExample"; + this.kbtnMemoryBoxExample.Size = new System.Drawing.Size(148, 22); + this.kbtnMemoryBoxExample.TabIndex = 21; + this.kbtnMemoryBoxExample.Values.Text = "MemoryBox Example"; + this.kbtnMemoryBoxExample.Click += new System.EventHandler(this.kbtnMemoryBoxExample_Click); + // // kbtnRibbonExtended // this.kbtnRibbonExtended.Location = new System.Drawing.Point(10, 154); @@ -274,14 +285,14 @@ private void InitializeComponent() this.kbtnButtonItems.Values.Text = "Button Items"; this.kbtnButtonItems.Click += new System.EventHandler(this.kbtnButtonItems_Click); // - // kbtnMemoryBoxExample + // kbtnProgressBars // - this.kbtnMemoryBoxExample.Location = new System.Drawing.Point(127, 154); - this.kbtnMemoryBoxExample.Name = "kbtnMemoryBoxExample"; - this.kbtnMemoryBoxExample.Size = new System.Drawing.Size(148, 22); - this.kbtnMemoryBoxExample.TabIndex = 21; - this.kbtnMemoryBoxExample.Values.Text = "MemoryBox Example"; - this.kbtnMemoryBoxExample.Click += new System.EventHandler(this.kbtnMemoryBoxExample_Click); + this.kbtnProgressBars.Location = new System.Drawing.Point(281, 154); + this.kbtnProgressBars.Name = "kbtnProgressBars"; + this.kbtnProgressBars.Size = new System.Drawing.Size(134, 22); + this.kbtnProgressBars.TabIndex = 22; + this.kbtnProgressBars.Values.Text = "ProgressBar Examples"; + this.kbtnProgressBars.Click += new System.EventHandler(this.kbtnProgressBars_Click); // // MainWindow // @@ -323,5 +334,6 @@ private void InitializeComponent() private KryptonButton kbtnThemeTools; private KryptonButton kbtnRibbonExtended; private KryptonButton kbtnMemoryBoxExample; + private KryptonButton kbtnProgressBars; } } \ No newline at end of file diff --git a/Source/Krypton Toolkit/Examples/MainWindow.cs b/Source/Krypton Toolkit/Examples/MainWindow.cs index 02a776f34..c8aa07df7 100644 --- a/Source/Krypton Toolkit/Examples/MainWindow.cs +++ b/Source/Krypton Toolkit/Examples/MainWindow.cs @@ -146,5 +146,12 @@ private void kbtnMemoryBoxExample_Click(object sender, EventArgs e) memoryBoxExample.Show(); } + + private void kbtnProgressBars_Click(object sender, EventArgs e) + { + KryptonProgressBarExtendedExamples progressBarExtendedExamples = new KryptonProgressBarExtendedExamples(); + + progressBarExtendedExamples.Show(); + } } } \ No newline at end of file diff --git a/Source/Krypton Toolkit/Krypton Toolkit Suite Extended 2022 - VS2022.sln b/Source/Krypton Toolkit/Krypton Toolkit Suite Extended 2022 - VS2022.sln index 448529c6a..dddbc7ad0 100644 --- a/Source/Krypton Toolkit/Krypton Toolkit Suite Extended 2022 - VS2022.sln +++ b/Source/Krypton Toolkit/Krypton Toolkit Suite Extended 2022 - VS2022.sln @@ -275,6 +275,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Applications", "Application EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoUpdateCreator", "AutoUpdateCreator\AutoUpdateCreator.csproj", "{975DA9CB-501F-442E-8339-AF625C7A5DA4}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub", "GitHub", "{5D204922-259D-4140-B115-F01EDF031B5A}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Issue Templates", "Issue Templates", "{362F24FA-1AA0-4821-A539-C5A863D39B8B}" + ProjectSection(SolutionItems) = preProject + ..\..\.github\ISSUE_TEMPLATE\bug_report.md = ..\..\.github\ISSUE_TEMPLATE\bug_report.md + ..\..\.github\ISSUE_TEMPLATE\feature-request.md = ..\..\.github\ISSUE_TEMPLATE\feature-request.md + ..\..\.github\ISSUE_TEMPLATE\other-issues.md = ..\..\.github\ISSUE_TEMPLATE\other-issues.md + ..\..\.github\ISSUE_TEMPLATE\post-a-question.md = ..\..\.github\ISSUE_TEMPLATE\post-a-question.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Canary|Any CPU = Canary|Any CPU @@ -857,6 +867,8 @@ Global {5C2389E8-1198-48D2-BDCC-44F74BE6B294} = {726DC0AA-2B0D-4EAC-BB7A-7C49AE13A390} {1126FD6E-8A3E-4C93-AABB-06073B27EB75} = {4985A154-8526-4CB0-A7DC-B39736C4A8AC} {975DA9CB-501F-442E-8339-AF625C7A5DA4} = {4985A154-8526-4CB0-A7DC-B39736C4A8AC} + {5D204922-259D-4140-B115-F01EDF031B5A} = {5D85B551-9AFC-4E96-93C3-D8D81B69971F} + {362F24FA-1AA0-4821-A539-C5A863D39B8B} = {5D204922-259D-4140-B115-F01EDF031B5A} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {A7CE7732-0982-4703-8EFD-7715D569BAB5} diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView 2022.csproj index 5a635164d..aae23bfcd 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView/Krypton.Toolkit.Suite.Extended.AdvancedDataGridView 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Buttons/Krypton.Toolkit.Suite.Extended.Buttons 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Buttons/Krypton.Toolkit.Suite.Extended.Buttons 2022.csproj index 31be801af..c6a01e8c4 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Buttons/Krypton.Toolkit.Suite.Extended.Buttons 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Buttons/Krypton.Toolkit.Suite.Extended.Buttons 2022.csproj @@ -85,7 +85,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Classes/CalendarDay.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Classes/CalendarDay.cs index 0be64d060..ae81bc5e2 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Classes/CalendarDay.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Classes/CalendarDay.cs @@ -259,7 +259,7 @@ internal void UpdateUnits() case CalendarTimeScale.FiveMinutes: factor = 12; break; - default: + default: throw new NotImplementedException("TimeScale not supported"); } diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Krypton.Toolkit.Suite.Extended.Calendar 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Krypton.Toolkit.Suite.Extended.Calendar 2022.csproj index add3435da..bd5595f82 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Krypton.Toolkit.Suite.Extended.Calendar 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Calendar/Krypton.Toolkit.Suite.Extended.Calendar 2022.csproj @@ -85,7 +85,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.CheckSum.Tools/Krypton.Toolkit.Suite.Extended.CheckSum.Tools 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.CheckSum.Tools/Krypton.Toolkit.Suite.Extended.CheckSum.Tools 2022.csproj index 36571d7b9..15a712a8d 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.CheckSum.Tools/Krypton.Toolkit.Suite.Extended.CheckSum.Tools 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.CheckSum.Tools/Krypton.Toolkit.Suite.Extended.CheckSum.Tools 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar 2022.csproj index a2c74b420..f784f2835 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar/Krypton.Toolkit.Suite.Extended.Circular.ProgressBar 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.ComboBox/Krypton.Toolkit.Suite.Extended.ComboBox 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.ComboBox/Krypton.Toolkit.Suite.Extended.ComboBox 2022.csproj index 0726b2a53..bb53a5320 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.ComboBox/Krypton.Toolkit.Suite.Extended.ComboBox 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.ComboBox/Krypton.Toolkit.Suite.Extended.ComboBox 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Common/Krypton.Toolkit.Suite.Extended.Common 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Common/Krypton.Toolkit.Suite.Extended.Common 2022.csproj index 12a5164e4..7d207dc00 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Common/Krypton.Toolkit.Suite.Extended.Common 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Common/Krypton.Toolkit.Suite.Extended.Common 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Compression/Krypton.Toolkit.Suite.Extended.Compression 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Compression/Krypton.Toolkit.Suite.Extended.Compression 2022.csproj index 2e56e772d..2ac31931b 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Compression/Krypton.Toolkit.Suite.Extended.Compression 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Compression/Krypton.Toolkit.Suite.Extended.Compression 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtendedVersion2.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtended.cs similarity index 95% rename from Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtendedVersion2.cs rename to Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtended.cs index 9ee5b50b8..898e5f1ee 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtendedVersion2.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtended.cs @@ -33,26 +33,27 @@ namespace Krypton.Toolkit.Suite.Extended.Controls /// Based off of: https://www.codeproject.com/Articles/1082902/How-to-Paint-on-Top-of-a-ProgressBar-using-Csharp /// /// - /// KryptonProgressBarExtendedVersion2 is a specialized type of , which it extends - /// to fade its background colors and to display its . + /// KryptonProgressBarExtended is a specialized type of , which it extends + /// to fade its background colors and to display its . /// /// You can manipulate the background fading intensity by changing the value of - /// property which accepts values between 0 and 255. + /// property which accepts values between 0 and 255. /// Lower values make the background darker; higher values make the background lighter. /// /// The current is displayed using the values of properties - /// and . + /// and . /// - /// When you derive from KryptonProgressBarExtendedVersion2, adding new functionality to the + /// When you derive from KryptonProgressBarExtended, adding new functionality to the /// derived class, if your derived class references objects that must be disposed of before an instance of - /// your class is destroyed, you must override the + /// your class is destroyed, you must override the /// method, and call Dispose() on all objects /// that are referenced in your class, before calling Dispose(disposing) on the base class. /// [Description("Provides a ProgressBar which displays its Value as text on a faded background."), Designer(typeof(KryptonProgressBarExtendedVersion2Designer)), - ToolboxBitmap(typeof(ProgressBar))] - public class KryptonProgressBarExtendedVersion2 : ProgressBar + ToolboxBitmap(typeof(ProgressBar)), + Obsolete(@"Please use the native KryptonProgressBar instead.")] + public class KryptonProgressBarExtended : ProgressBar { #region Instance Fields @@ -203,10 +204,9 @@ protected override CreateParams CreateParams #region Identity - /// Initializes a new instance of the class. - public KryptonProgressBarExtendedVersion2() + /// Initializes a new instance of the class. + public KryptonProgressBarExtended() { - // ToDo: Use Krypton ForeColor = SystemColors.ControlText; _fadeBrush = new SolidBrush(Color.FromArgb(Fade, 255, 255, 255)); diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtendedVersion1.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtendedVersion1.cs index fe9ab127b..115f96a43 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtendedVersion1.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Controls Toolkit/KryptonProgressBarExtendedVersion1.cs @@ -27,6 +27,7 @@ namespace Krypton.Toolkit.Suite.Extended.Controls { + [Obsolete(@"Please use the native KryptonProgressBar instead.")] public class KryptonProgressBarExtendedVersion1 : UserControl { #region Designer Code diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Krypton.Toolkit.Suite.Extended.Controls 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Krypton.Toolkit.Suite.Extended.Controls 2022.csproj index 20f5334c6..1afb6da52 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Krypton.Toolkit.Suite.Extended.Controls 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Controls/Krypton.Toolkit.Suite.Extended.Controls 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Core/Krypton.Toolkit.Suite.Extended.Core 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Core/Krypton.Toolkit.Suite.Extended.Core 2022.csproj index 0f8eeb4b9..c56b53ba0 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Core/Krypton.Toolkit.Suite.Extended.Core 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Core/Krypton.Toolkit.Suite.Extended.Core 2022.csproj @@ -86,13 +86,13 @@ - + - + - + - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Data.Visualisation/Krypton.Toolkit.Suite.Extended.Data.Visualisation 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Data.Visualisation/Krypton.Toolkit.Suite.Extended.Data.Visualisation 2022.csproj index 80c4326c9..85c9c357b 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Data.Visualisation/Krypton.Toolkit.Suite.Extended.Data.Visualisation 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Data.Visualisation/Krypton.Toolkit.Suite.Extended.Data.Visualisation 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.DataGridView/Krypton.Toolkit.Suite.Extended.DataGridView 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.DataGridView/Krypton.Toolkit.Suite.Extended.DataGridView 2022.csproj index 51ee2c16b..f8f882b6e 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.DataGridView/Krypton.Toolkit.Suite.Extended.DataGridView 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.DataGridView/Krypton.Toolkit.Suite.Extended.DataGridView 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Developer.Utilities/Krypton.Toolkit.Suite.Extended.Developer.Utilities 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Developer.Utilities/Krypton.Toolkit.Suite.Extended.Developer.Utilities 2022.csproj index 357d2562b..6afed8146 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Developer.Utilities/Krypton.Toolkit.Suite.Extended.Developer.Utilities 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Developer.Utilities/Krypton.Toolkit.Suite.Extended.Developer.Utilities 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dialogs/Krypton.Toolkit.Suite.Extended.Dialogs 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dialogs/Krypton.Toolkit.Suite.Extended.Dialogs 2022.csproj index e6247c34c..3232e17ae 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dialogs/Krypton.Toolkit.Suite.Extended.Dialogs 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dialogs/Krypton.Toolkit.Suite.Extended.Dialogs 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dock.Extender/Krypton.Toolkit.Suite.Extended.Dock.Extender 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dock.Extender/Krypton.Toolkit.Suite.Extended.Dock.Extender 2022.csproj index 43590c367..4acb0f202 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dock.Extender/Krypton.Toolkit.Suite.Extended.Dock.Extender 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Dock.Extender/Krypton.Toolkit.Suite.Extended.Dock.Extender 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing.Utilities/Krypton.Toolkit.Suite.Extended.Drawing.Utilities 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing.Utilities/Krypton.Toolkit.Suite.Extended.Drawing.Utilities 2022.csproj index 786bf4c67..bb8d8ef5f 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing.Utilities/Krypton.Toolkit.Suite.Extended.Drawing.Utilities 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing.Utilities/Krypton.Toolkit.Suite.Extended.Drawing.Utilities 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing/Krypton.Toolkit.Suite.Extended.Drawing 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing/Krypton.Toolkit.Suite.Extended.Drawing 2022.csproj index cb97b26f2..1624788dc 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing/Krypton.Toolkit.Suite.Extended.Drawing 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Drawing/Krypton.Toolkit.Suite.Extended.Drawing 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Effects/Krypton.Toolkit.Suite.Extended.Effects 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Effects/Krypton.Toolkit.Suite.Extended.Effects 2022.csproj index fbd15e0b6..ae458a6ec 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Effects/Krypton.Toolkit.Suite.Extended.Effects 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Effects/Krypton.Toolkit.Suite.Extended.Effects 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Error.Reporting/Krypton.Toolkit.Suite.Extended.Error.Reporting 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Error.Reporting/Krypton.Toolkit.Suite.Extended.Error.Reporting 2022.csproj index 3acc59d6c..2e50033cf 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Error.Reporting/Krypton.Toolkit.Suite.Extended.Error.Reporting 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Error.Reporting/Krypton.Toolkit.Suite.Extended.Error.Reporting 2022.csproj @@ -87,9 +87,9 @@ - + - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.File.Copier/Krypton.Toolkit.Suite.Extended.File.Copier 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.File.Copier/Krypton.Toolkit.Suite.Extended.File.Copier 2022.csproj index 4ec304661..341dd57ba 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.File.Copier/Krypton.Toolkit.Suite.Extended.File.Copier 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.File.Copier/Krypton.Toolkit.Suite.Extended.File.Copier 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Floating.Toolbars/Krypton.Toolkit.Suite.Extended.Floating.Toolbars 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Floating.Toolbars/Krypton.Toolkit.Suite.Extended.Floating.Toolbars 2022.csproj index 6952cbc07..d06f478b9 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Floating.Toolbars/Krypton.Toolkit.Suite.Extended.Floating.Toolbars 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Floating.Toolbars/Krypton.Toolkit.Suite.Extended.Floating.Toolbars 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/General/ShadowManager.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/General/ShadowManager.cs index 82f73740b..dc5d81aef 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/General/ShadowManager.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/General/ShadowManager.cs @@ -25,6 +25,8 @@ */ #endregion +using MethodInvoker = System.Windows.Forms.MethodInvoker; + namespace Krypton.Toolkit.Suite.Extended.Forms { /// @@ -36,7 +38,7 @@ internal class ShadowManager private readonly VirtualForm _parentForm; private readonly ShadowValues _shadowValues; private bool _allowDrawing; - private VisualShadowBase[] _shadowForms; + private VisualShadowBase?[] _shadowForms; #endregion #region Identity diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/Krypton.Toolkit.Suite.Extended.Forms 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/Krypton.Toolkit.Suite.Extended.Forms 2022.csproj index 606246914..f8f370ab4 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/Krypton.Toolkit.Suite.Extended.Forms 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Forms/Krypton.Toolkit.Suite.Extended.Forms 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Global.Utilities/Krypton.Toolkit.Suite.Extended.Global.Utilities 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Global.Utilities/Krypton.Toolkit.Suite.Extended.Global.Utilities 2022.csproj index ee4bee082..d28d8d117 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Global.Utilities/Krypton.Toolkit.Suite.Extended.Global.Utilities 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Global.Utilities/Krypton.Toolkit.Suite.Extended.Global.Utilities 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.IO/Krypton.Toolkit.Suite.Extended.IO 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.IO/Krypton.Toolkit.Suite.Extended.IO 2022.csproj index 973c4d57e..7f9edd736 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.IO/Krypton.Toolkit.Suite.Extended.IO 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.IO/Krypton.Toolkit.Suite.Extended.IO 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.InputBox/Krypton.Toolkit.Suite.Extended.InputBox 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.InputBox/Krypton.Toolkit.Suite.Extended.InputBox 2022.csproj index dc3008226..6408bc1b1 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.InputBox/Krypton.Toolkit.Suite.Extended.InputBox 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.InputBox/Krypton.Toolkit.Suite.Extended.InputBox 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Language.Model/Krypton.Toolkit.Suite.Extended.Language.Model 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Language.Model/Krypton.Toolkit.Suite.Extended.Language.Model 2022.csproj index 1f423cc5b..f35f4607d 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Language.Model/Krypton.Toolkit.Suite.Extended.Language.Model 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Language.Model/Krypton.Toolkit.Suite.Extended.Language.Model 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Memory.Box/Krypton.Toolkit.Suite.Extended.Memory.Box 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Memory.Box/Krypton.Toolkit.Suite.Extended.Memory.Box 2022.csproj index 3163a941b..bb31170c1 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Memory.Box/Krypton.Toolkit.Suite.Extended.Memory.Box 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Memory.Box/Krypton.Toolkit.Suite.Extended.Memory.Box 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Messagebox/Krypton.Toolkit.Suite.Extended.Messagebox 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Messagebox/Krypton.Toolkit.Suite.Extended.Messagebox 2022.csproj index cbb0d9c96..c152c2c90 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Messagebox/Krypton.Toolkit.Suite.Extended.Messagebox 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Messagebox/Krypton.Toolkit.Suite.Extended.Messagebox 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navi.Suite/Krypton.Toolkit.Suite.Extended.Navi.Suite 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navi.Suite/Krypton.Toolkit.Suite.Extended.Navi.Suite 2022.csproj index 9ffe61b49..feefcc687 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navi.Suite/Krypton.Toolkit.Suite.Extended.Navi.Suite 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navi.Suite/Krypton.Toolkit.Suite.Extended.Navi.Suite 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navigator/Krypton.Toolkit.Suite.Extended.Navigator 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navigator/Krypton.Toolkit.Suite.Extended.Navigator 2022.csproj index 822d4c0aa..f96f39de2 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navigator/Krypton.Toolkit.Suite.Extended.Navigator 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Navigator/Krypton.Toolkit.Suite.Extended.Navigator 2022.csproj @@ -87,9 +87,9 @@ - + - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Networking/Krypton.Toolkit.Suite.Extended.Networking 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Networking/Krypton.Toolkit.Suite.Extended.Networking 2022.csproj index 4590771a9..cde786c99 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Networking/Krypton.Toolkit.Suite.Extended.Networking 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Networking/Krypton.Toolkit.Suite.Extended.Networking 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Notifications/Krypton.Toolkit.Suite.Extended.Notifications 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Notifications/Krypton.Toolkit.Suite.Extended.Notifications 2022.csproj index 6561c3db2..bfb08684e 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Notifications/Krypton.Toolkit.Suite.Extended.Notifications 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Notifications/Krypton.Toolkit.Suite.Extended.Notifications 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Outlook.Grid/Krypton.Toolkit.Suite.Extended.Outlook.Grid 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Outlook.Grid/Krypton.Toolkit.Suite.Extended.Outlook.Grid 2022.csproj index 95294c217..1476f44b5 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Outlook.Grid/Krypton.Toolkit.Suite.Extended.Outlook.Grid 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Outlook.Grid/Krypton.Toolkit.Suite.Extended.Outlook.Grid 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Panels/Krypton.Toolkit.Suite.Extended.Panels 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Panels/Krypton.Toolkit.Suite.Extended.Panels 2022.csproj index 1ed0bf7cf..a97135950 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Panels/Krypton.Toolkit.Suite.Extended.Panels 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Panels/Krypton.Toolkit.Suite.Extended.Panels 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Resources/Krypton.Toolkit.Suite.Extended.Resources 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Resources/Krypton.Toolkit.Suite.Extended.Resources 2022.csproj index 76a2adcda..c0512a90f 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Resources/Krypton.Toolkit.Suite.Extended.Resources 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Resources/Krypton.Toolkit.Suite.Extended.Resources 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Ribbon/Krypton.Toolkit.Suite.Extended.Ribbon 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Ribbon/Krypton.Toolkit.Suite.Extended.Ribbon 2022.csproj index 70667ee21..17b03a857 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Ribbon/Krypton.Toolkit.Suite.Extended.Ribbon 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Ribbon/Krypton.Toolkit.Suite.Extended.Ribbon 2022.csproj @@ -87,9 +87,9 @@ - + - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Settings/Krypton.Toolkit.Suite.Extended.Settings 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Settings/Krypton.Toolkit.Suite.Extended.Settings 2022.csproj index 9c1b73b6e..d8a05da36 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Settings/Krypton.Toolkit.Suite.Extended.Settings 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Settings/Krypton.Toolkit.Suite.Extended.Settings 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Converters/PaletteModeConverter.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Converters/PaletteModeConverter.cs index d81bb6307..32a277634 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Converters/PaletteModeConverter.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Converters/PaletteModeConverter.cs @@ -12,7 +12,8 @@ namespace Krypton.Toolkit.Suite.Extended.Shared { - /// + // TODO: Rewrite class + /*/// /// Custom type converter so that PaletteMode values appear as neat text at design time. /// public class PaletteModeConverter : StringLookupConverter @@ -94,5 +95,5 @@ public PaletteModeConverter() protected override Pair[] Pairs => _pairs; #endregion - } + }*/ } \ No newline at end of file diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Krypton.Toolkit.Suite.Extended.Shared 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Krypton.Toolkit.Suite.Extended.Shared 2022.csproj index 6e6f93fcc..61336f2c5 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Krypton.Toolkit.Suite.Extended.Shared 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Shared/Krypton.Toolkit.Suite.Extended.Shared 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater.Core/Krypton.Toolkit.Suite.Extended.Software.Updater.Core 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater.Core/Krypton.Toolkit.Suite.Extended.Software.Updater.Core 2022.csproj index ada9273e7..e15ec6331 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater.Core/Krypton.Toolkit.Suite.Extended.Software.Updater.Core 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater.Core/Krypton.Toolkit.Suite.Extended.Software.Updater.Core 2022.csproj @@ -86,13 +86,13 @@ - + - + - + - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/General/AutoUpdater.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/General/AutoUpdater.cs index 8d9addc92..bbf9f7e8a 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/General/AutoUpdater.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/General/AutoUpdater.cs @@ -30,6 +30,7 @@ using IWin32Window = System.Windows.Forms.IWin32Window; using Size = System.Drawing.Size; using Timer = System.Timers.Timer; +using MethodInvoker = System.Windows.Forms.MethodInvoker; // ReSharper disable InconsistentNaming namespace Krypton.Toolkit.Suite.Extended.Software.Updater diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/UX/DownloadUpdateDialog.Designer.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/UX/DownloadUpdateDialog.Designer.cs index 232495371..7131e517f 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/UX/DownloadUpdateDialog.Designer.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Auto Updater/UX/DownloadUpdateDialog.Designer.cs @@ -108,7 +108,6 @@ private void InitializeComponent() this.kpbDownloadProgress.Name = "kpbDownloadProgress"; this.kpbDownloadProgress.Size = new System.Drawing.Size(405, 15); this.kpbDownloadProgress.TabIndex = 0; - this.kpbDownloadProgress.UseKrypton = true; // // kwlHeader // diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Krypton.Toolkit.Suite.Extended.Software.Updater 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Krypton.Toolkit.Suite.Extended.Software.Updater 2022.csproj index 681028774..94faf882e 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Krypton.Toolkit.Suite.Extended.Software.Updater 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/Krypton.Toolkit.Suite.Extended.Software.Updater 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.Designer.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.Designer.cs index 3fd60c123..bc75715f5 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.Designer.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.Designer.cs @@ -96,7 +96,6 @@ private void InitializeComponent() this.kpbProgress.Name = "kpbProgress"; this.kpbProgress.Size = new System.Drawing.Size(486, 23); this.kpbProgress.TabIndex = 2; - this.kpbProgress.UseKrypton = true; // // kryptonPanel2 // diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.cs index 5bcf1c93b..8451fed61 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleCheckingForUpdatesWindow.cs @@ -26,6 +26,7 @@ #endregion +using MethodInvoker = System.Windows.Forms.MethodInvoker; using Size = System.Drawing.Size; namespace Krypton.Toolkit.Suite.Extended.Software.Updater diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.Designer.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.Designer.cs index 2fb3953e5..66687af40 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.Designer.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.Designer.cs @@ -130,7 +130,6 @@ private void InitializeComponent() this.kpbDownloadProgress.Name = "kpbDownloadProgress"; this.kpbDownloadProgress.Size = new System.Drawing.Size(587, 23); this.kpbDownloadProgress.TabIndex = 3; - this.kpbDownloadProgress.UseKrypton = true; // // kryptonPanel2 // diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.cs index f5cc78294..411f3076d 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleDownloadProgressWindow.cs @@ -27,6 +27,7 @@ #endregion using Application = System.Windows.Forms.Application; +using MethodInvoker = System.Windows.Forms.MethodInvoker; using Size = System.Drawing.Size; namespace Krypton.Toolkit.Suite.Extended.Software.Updater diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleUpdateAvailableWindow.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleUpdateAvailableWindow.cs index 1135902b8..20af4730f 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleUpdateAvailableWindow.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Software.Updater/NetSparkle/UX/NetSparkleUpdateAvailableWindow.cs @@ -26,6 +26,7 @@ #endregion +using MethodInvoker = System.Windows.Forms.MethodInvoker; using Application = System.Windows.Forms.Application; using Size = System.Drawing.Size; // ReSharper disable InconsistentNaming diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs 2022.csproj index 540b42743..c0a79383e 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs/Krypton.Toolkit.Suite.Extended.Specialised.Dialogs 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Theme.Switcher/Krypton.Toolkit.Suite.Extended.Theme.Switcher 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Theme.Switcher/Krypton.Toolkit.Suite.Extended.Theme.Switcher 2022.csproj index a38906495..e3399c3ea 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Theme.Switcher/Krypton.Toolkit.Suite.Extended.Theme.Switcher 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Theme.Switcher/Krypton.Toolkit.Suite.Extended.Theme.Switcher 2022.csproj @@ -87,9 +87,9 @@ - + - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/Krypton.Toolkit.Suite.Extended.Toast 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/Krypton.Toolkit.Suite.Extended.Toast 2022.csproj index 02bfe2f97..127b2ea86 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/Krypton.Toolkit.Suite.Extended.Toast 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/Krypton.Toolkit.Suite.Extended.Toast 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.Designer.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.Designer.cs index ae0d7abcf..70d5c992e 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.Designer.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.Designer.cs @@ -57,7 +57,7 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BasicNotificationWithProgressBar)); this.kpnlContent = new Krypton.Toolkit.KryptonPanel(); - this.pbCountdown = new System.Windows.Forms.ProgressBar(); + this.pbCountdown = new Krypton.Toolkit.KryptonProgressBar(); this.krtbContent = new Krypton.Toolkit.KryptonRichTextBox(); this.kwlTitle = new Krypton.Toolkit.KryptonWrapLabel(); this.pbxToastImage = new System.Windows.Forms.PictureBox(); @@ -109,6 +109,7 @@ private void InitializeComponent() this.pbCountdown.Name = "pbCountdown"; this.pbCountdown.Size = new System.Drawing.Size(609, 5); this.pbCountdown.TabIndex = 4; + this.pbCountdown.Values.Text = ""; // // krtbContent // @@ -201,7 +202,6 @@ private void InitializeComponent() this.ktbActionButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ktbActionButton3.AutoSize = true; this.ktbActionButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton3.CornerRoundingRadius = -1F; this.ktbActionButton3.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton3.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton3.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -217,7 +217,6 @@ private void InitializeComponent() this.kbtnToastButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnToastButton3.AutoSize = true; this.kbtnToastButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton3.CornerRoundingRadius = -1F; this.kbtnToastButton3.Location = new System.Drawing.Point(496, 6); this.kbtnToastButton3.Name = "kbtnToastButton3"; this.kbtnToastButton3.Size = new System.Drawing.Size(22, 22); @@ -245,7 +244,6 @@ private void InitializeComponent() this.ktbActionButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ktbActionButton2.AutoSize = true; this.ktbActionButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton2.CornerRoundingRadius = -1F; this.ktbActionButton2.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton2.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton2.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -261,7 +259,6 @@ private void InitializeComponent() this.kbtnToastButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnToastButton2.AutoSize = true; this.kbtnToastButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton2.CornerRoundingRadius = -1F; this.kbtnToastButton2.Location = new System.Drawing.Point(-11, 6); this.kbtnToastButton2.Name = "kbtnToastButton2"; this.kbtnToastButton2.Size = new System.Drawing.Size(22, 22); @@ -310,7 +307,6 @@ private void InitializeComponent() this.ktbActionButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ktbActionButton1.AutoSize = true; this.ktbActionButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton1.CornerRoundingRadius = -1F; this.ktbActionButton1.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton1.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton1.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -326,7 +322,6 @@ private void InitializeComponent() this.kbtnToastButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.kbtnToastButton1.AutoSize = true; this.kbtnToastButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton1.CornerRoundingRadius = -1F; this.kbtnToastButton1.Location = new System.Drawing.Point(9, 6); this.kbtnToastButton1.Name = "kbtnToastButton1"; this.kbtnToastButton1.Size = new System.Drawing.Size(22, 22); @@ -373,7 +368,7 @@ private void InitializeComponent() #endregion private KryptonPanel kpnlContent; - private ProgressBar pbCountdown; + private KryptonProgressBar pbCountdown; private KryptonRichTextBox krtbContent; private KryptonWrapLabel kwlTitle; private PictureBox pbxToastImage; diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.resx b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.resx index 23731e0ef..d96a483c7 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.resx +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/RichTextBox/BasicNotificationWithProgressBar.resx @@ -120,14 +120,12 @@ - iVBORw0KGgoAAAANSUhEUgAAAmEAAAAyCAYAAAAUcAw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFQSURBVHhe7dmxDQNBCARAt3vNuQi34WLeeqR3RAqbTDA6 - 7dHACl7nnOv2/nzrlWVZlmVZludzlbD7AwCAHVXCugEAALNswgAAljlHAgAEKGEAAAFVwroBAACzbMIA - AJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlHAgAEKGEAAAFVwroB - AACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlHAgAEKGEA - AAFVwroBAACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlH - AgAEKGEAAAFVwroBAACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAT8S9jj+ZRlWZZlWZYn - 87l+YA83ApLrx/sAAAAASUVORK5CYII= + iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD0SURBVHhe7dExAQAgDMAw/ItBBDYmZtjI0SMKcu6bjaMQ + TCGYQjCFYArBFIIpBFMIphBMIZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArB + FIIpBFMIphBMIZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArBFIIpBFMIphBM + IZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArBFIIpBFMIphBMIZhCMIVgCsEU + gikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQiizH+yXgiFwEL30AAAAAElFTkSuQmCC \ No newline at end of file diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.Designer.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.Designer.cs index 6ad252334..2d253ee3e 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.Designer.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.Designer.cs @@ -58,7 +58,7 @@ private void InitializeComponent() System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BasicNotificationWithProgressBarAlternativeUI)); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel(); this.kwlContent = new Krypton.Toolkit.KryptonWrapLabel(); - this.pbCountdown = new System.Windows.Forms.ProgressBar(); + this.pbCountdown = new Krypton.Toolkit.KryptonProgressBar(); this.kwlTitle = new Krypton.Toolkit.KryptonWrapLabel(); this.pbxToastImage = new System.Windows.Forms.PictureBox(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); @@ -125,6 +125,7 @@ private void InitializeComponent() this.pbCountdown.Name = "pbCountdown"; this.pbCountdown.Size = new System.Drawing.Size(609, 5); this.pbCountdown.TabIndex = 4; + this.pbCountdown.Values.Text = ""; // // kwlTitle // @@ -204,7 +205,6 @@ private void InitializeComponent() this.ktbActionButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ktbActionButton3.AutoSize = true; this.ktbActionButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton3.CornerRoundingRadius = -1F; this.ktbActionButton3.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton3.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton3.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -220,7 +220,6 @@ private void InitializeComponent() this.kbtnToastButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnToastButton3.AutoSize = true; this.kbtnToastButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton3.CornerRoundingRadius = -1F; this.kbtnToastButton3.Location = new System.Drawing.Point(496, 6); this.kbtnToastButton3.Name = "kbtnToastButton3"; this.kbtnToastButton3.Size = new System.Drawing.Size(22, 22); @@ -248,7 +247,6 @@ private void InitializeComponent() this.ktbActionButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ktbActionButton2.AutoSize = true; this.ktbActionButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton2.CornerRoundingRadius = -1F; this.ktbActionButton2.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton2.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton2.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -264,7 +262,6 @@ private void InitializeComponent() this.kbtnToastButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnToastButton2.AutoSize = true; this.kbtnToastButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton2.CornerRoundingRadius = -1F; this.kbtnToastButton2.Location = new System.Drawing.Point(-11, 6); this.kbtnToastButton2.Name = "kbtnToastButton2"; this.kbtnToastButton2.Size = new System.Drawing.Size(22, 22); @@ -313,7 +310,6 @@ private void InitializeComponent() this.ktbActionButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ktbActionButton1.AutoSize = true; this.ktbActionButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton1.CornerRoundingRadius = -1F; this.ktbActionButton1.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton1.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton1.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -329,7 +325,6 @@ private void InitializeComponent() this.kbtnToastButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.kbtnToastButton1.AutoSize = true; this.kbtnToastButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton1.CornerRoundingRadius = -1F; this.kbtnToastButton1.Location = new System.Drawing.Point(9, 6); this.kbtnToastButton1.Name = "kbtnToastButton1"; this.kbtnToastButton1.Size = new System.Drawing.Size(22, 22); @@ -377,7 +372,7 @@ private void InitializeComponent() private KryptonPanel kryptonPanel2; private KryptonWrapLabel kwlContent; - private ProgressBar pbCountdown; + private KryptonProgressBar pbCountdown; private KryptonWrapLabel kwlTitle; private PictureBox pbxToastImage; private KryptonPanel kryptonPanel1; diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.resx b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.resx index 23731e0ef..d96a483c7 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.resx +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/Basic UI/WrapLabel/BasicNotificationWithProgressBarAlternativeUI.resx @@ -120,14 +120,12 @@ - iVBORw0KGgoAAAANSUhEUgAAAmEAAAAyCAYAAAAUcAw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFQSURBVHhe7dmxDQNBCARAt3vNuQi34WLeeqR3RAqbTDA6 - 7dHACl7nnOv2/nzrlWVZlmVZludzlbD7AwCAHVXCugEAALNswgAAljlHAgAEKGEAAAFVwroBAACzbMIA - AJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlHAgAEKGEAAAFVwroB - AACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlHAgAEKGEA - AAFVwroBAACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlH - AgAEKGEAAAFVwroBAACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAT8S9jj+ZRlWZZlWZYn - 87l+YA83ApLrx/sAAAAASUVORK5CYII= + iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD0SURBVHhe7dExAQAgDMAw/ItBBDYmZtjI0SMKcu6bjaMQ + TCGYQjCFYArBFIIpBFMIphBMIZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArB + FIIpBFMIphBMIZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArBFIIpBFMIphBM + IZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArBFIIpBFMIphBMIZhCMIVgCsEU + gikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQiizH+yXgiFwEL30AAAAAElFTkSuQmCC \ No newline at end of file diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.Designer.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.Designer.cs index 61d7cced0..adb154872 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.Designer.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.Designer.cs @@ -57,7 +57,7 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BasicNotificationWithUserResponseAndProgressBar)); this.kpnlContent = new Krypton.Toolkit.KryptonPanel(); - this.pbCountdown = new System.Windows.Forms.ProgressBar(); + this.pbCountdown = new Krypton.Toolkit.KryptonProgressBar(); this.ktxtUserResponse = new Krypton.Toolkit.KryptonTextBox(); this.krtbContent = new Krypton.Toolkit.KryptonRichTextBox(); this.kwlTitle = new Krypton.Toolkit.KryptonWrapLabel(); @@ -111,6 +111,7 @@ private void InitializeComponent() this.pbCountdown.Name = "pbCountdown"; this.pbCountdown.Size = new System.Drawing.Size(609, 5); this.pbCountdown.TabIndex = 6; + this.pbCountdown.Values.Text = ""; // // ktxtUserResponse // @@ -210,7 +211,6 @@ private void InitializeComponent() this.ktbActionButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ktbActionButton3.AutoSize = true; this.ktbActionButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton3.CornerRoundingRadius = -1F; this.ktbActionButton3.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton3.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton3.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -226,7 +226,6 @@ private void InitializeComponent() this.kbtnToastButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnToastButton3.AutoSize = true; this.kbtnToastButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton3.CornerRoundingRadius = -1F; this.kbtnToastButton3.Location = new System.Drawing.Point(496, 6); this.kbtnToastButton3.Name = "kbtnToastButton3"; this.kbtnToastButton3.Size = new System.Drawing.Size(22, 22); @@ -254,7 +253,6 @@ private void InitializeComponent() this.ktbActionButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ktbActionButton2.AutoSize = true; this.ktbActionButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton2.CornerRoundingRadius = -1F; this.ktbActionButton2.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton2.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton2.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -270,7 +268,6 @@ private void InitializeComponent() this.kbtnToastButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnToastButton2.AutoSize = true; this.kbtnToastButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton2.CornerRoundingRadius = -1F; this.kbtnToastButton2.Location = new System.Drawing.Point(-11, 6); this.kbtnToastButton2.Name = "kbtnToastButton2"; this.kbtnToastButton2.Size = new System.Drawing.Size(22, 22); @@ -319,7 +316,6 @@ private void InitializeComponent() this.ktbActionButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ktbActionButton1.AutoSize = true; this.ktbActionButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ktbActionButton1.CornerRoundingRadius = -1F; this.ktbActionButton1.DenyButtonBackColour1 = System.Drawing.Color.Red; this.ktbActionButton1.DenyButtonBackColour2 = System.Drawing.Color.Red; this.ktbActionButton1.DenyButtonTextColour1 = System.Drawing.Color.Empty; @@ -335,7 +331,6 @@ private void InitializeComponent() this.kbtnToastButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.kbtnToastButton1.AutoSize = true; this.kbtnToastButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.kbtnToastButton1.CornerRoundingRadius = -1F; this.kbtnToastButton1.Location = new System.Drawing.Point(9, 6); this.kbtnToastButton1.Name = "kbtnToastButton1"; this.kbtnToastButton1.Size = new System.Drawing.Size(22, 22); @@ -383,7 +378,7 @@ private void InitializeComponent() #endregion private KryptonPanel kpnlContent; - private ProgressBar pbCountdown; + private KryptonProgressBar pbCountdown; private KryptonTextBox ktxtUserResponse; private KryptonRichTextBox krtbContent; private KryptonWrapLabel kwlTitle; diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.resx b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.resx index 23731e0ef..d96a483c7 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.resx +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/RichTextBox/BasicNotificationWithUserResponseAndProgressBar.resx @@ -120,14 +120,12 @@ - iVBORw0KGgoAAAANSUhEUgAAAmEAAAAyCAYAAAAUcAw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFQSURBVHhe7dmxDQNBCARAt3vNuQi34WLeeqR3RAqbTDA6 - 7dHACl7nnOv2/nzrlWVZlmVZludzlbD7AwCAHVXCugEAALNswgAAljlHAgAEKGEAAAFVwroBAACzbMIA - AJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlHAgAEKGEAAAFVwroB - AACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlHAgAEKGEA - AAFVwroBAACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAQoYQAAAVXCugEAALNswgAAljlH - AgAEKGEAAAFVwroBAACzbMIAAJY5RwIABChhAAABVcK6AQAAs2zCAACWOUcCAAT8S9jj+ZRlWZZlWZYn - 87l+YA83ApLrx/sAAAAASUVORK5CYII= + iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD0SURBVHhe7dExAQAgDMAw/ItBBDYmZtjI0SMKcu6bjaMQ + TCGYQjCFYArBFIIpBFMIphBMIZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArB + FIIpBFMIphBMIZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArBFIIpBFMIphBM + IZhCMIVgCsEUgikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQjCFYArBFIIpBFMIphBMIZhCMIVgCsEU + gikEUwimEEwhmEIwhWAKwRSCKQRTCKYQTCGYQiizH+yXgiFwEL30AAAAAElFTkSuQmCC \ No newline at end of file diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/Wrapped Label/BasicNotificationWithUserResponseWrappedLabelAndProgressBar.Designer.cs b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/Wrapped Label/BasicNotificationWithUserResponseWrappedLabelAndProgressBar.Designer.cs index ac9767dda..40fe4dd01 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/Wrapped Label/BasicNotificationWithUserResponseWrappedLabelAndProgressBar.Designer.cs +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toast/UX/User Response/Wrapped Label/BasicNotificationWithUserResponseWrappedLabelAndProgressBar.Designer.cs @@ -58,7 +58,7 @@ private void InitializeComponent() System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BasicNotificationWithUserResponseWrappedLabelAndProgressBar)); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); this.kpnlContent = new Krypton.Toolkit.KryptonPanel(); - this.pbProgress = new System.Windows.Forms.ProgressBar(); + this.pbProgress = new Krypton.Toolkit.KryptonProgressBar(); this.kwlContent = new Krypton.Toolkit.KryptonWrapLabel(); this.ktxtUserResponse = new Krypton.Toolkit.KryptonTextBox(); this.kwlTitle = new Krypton.Toolkit.KryptonWrapLabel(); @@ -124,8 +124,8 @@ private void InitializeComponent() // // kwlContent // - this.kwlContent.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.kwlContent.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.kwlContent.AutoSize = false; this.kwlContent.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -147,8 +147,8 @@ private void InitializeComponent() // // kwlTitle // - this.kwlTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.kwlTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.kwlTitle.AutoSize = false; this.kwlTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -387,7 +387,7 @@ private void InitializeComponent() private KryptonPanel kryptonPanel1; private KryptonPanel kpnlContent; - private ProgressBar pbProgress; + private KryptonProgressBar pbProgress; private KryptonWrapLabel kwlContent; private KryptonTextBox ktxtUserResponse; private KryptonWrapLabel kwlTitle; diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toggle.Switch/Krypton.Toolkit.Suite.Extended.Toggle.Switch 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toggle.Switch/Krypton.Toolkit.Suite.Extended.Toggle.Switch 2022.csproj index c0625284c..c36e2ca90 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toggle.Switch/Krypton.Toolkit.Suite.Extended.Toggle.Switch 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Toggle.Switch/Krypton.Toolkit.Suite.Extended.Toggle.Switch 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Box/Krypton.Toolkit.Suite.Extended.Tool.Box 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Box/Krypton.Toolkit.Suite.Extended.Tool.Box 2022.csproj index 8faf969b2..c1f94aea1 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Box/Krypton.Toolkit.Suite.Extended.Tool.Box 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Box/Krypton.Toolkit.Suite.Extended.Tool.Box 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items 2022.csproj index 519b0d92f..1e7ce1987 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items/Krypton.Toolkit.Suite.Extended.Tool.Strip.Items 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.TreeGridView/Krypton.Toolkit.Suite.Extended.TreeGridView 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.TreeGridView/Krypton.Toolkit.Suite.Extended.TreeGridView 2022.csproj index 36ee2266a..b8e1a7947 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.TreeGridView/Krypton.Toolkit.Suite.Extended.TreeGridView 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.TreeGridView/Krypton.Toolkit.Suite.Extended.TreeGridView 2022.csproj @@ -90,7 +90,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Utilities/Krypton.Toolkit.Suite.Extended.Utilities 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Utilities/Krypton.Toolkit.Suite.Extended.Utilities 2022.csproj index c3d349150..685f8a53f 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Utilities/Krypton.Toolkit.Suite.Extended.Utilities 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Utilities/Krypton.Toolkit.Suite.Extended.Utilities 2022.csproj @@ -86,7 +86,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView 2022.csproj index 837eee1a1..8e60be235 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView/Krypton.Toolkit.Suite.Extended.VirtualTreeColumnView 2022.csproj @@ -91,7 +91,7 @@ - + diff --git a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Wizard/Krypton.Toolkit.Suite.Extended.Wizard 2022.csproj b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Wizard/Krypton.Toolkit.Suite.Extended.Wizard 2022.csproj index 1d19b66e6..942ad04b1 100644 --- a/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Wizard/Krypton.Toolkit.Suite.Extended.Wizard 2022.csproj +++ b/Source/Krypton Toolkit/Krypton.Toolkit.Suite.Extended.Wizard/Krypton.Toolkit.Suite.Extended.Wizard 2022.csproj @@ -87,7 +87,7 @@ - + diff --git a/Source/Krypton Toolkit/ZipExtractor/Controls Visuals/ZipExtractorWindow.Designer.cs b/Source/Krypton Toolkit/ZipExtractor/Controls Visuals/ZipExtractorWindow.Designer.cs index 9c480ab23..c18e65cf7 100644 --- a/Source/Krypton Toolkit/ZipExtractor/Controls Visuals/ZipExtractorWindow.Designer.cs +++ b/Source/Krypton Toolkit/ZipExtractor/Controls Visuals/ZipExtractorWindow.Designer.cs @@ -146,7 +146,6 @@ private void InitializeComponent() this.kpbExtractingProgress.Name = "kpbExtractingProgress"; this.kpbExtractingProgress.Size = new System.Drawing.Size(722, 30); this.kpbExtractingProgress.TabIndex = 4; - this.kpbExtractingProgress.UseKrypton = true; // // bgwLoadWorker // diff --git a/Source/Krypton Toolkit/ZipExtractor/ZipExtractor.csproj b/Source/Krypton Toolkit/ZipExtractor/ZipExtractor.csproj index 7482594a1..9bc9769e4 100644 --- a/Source/Krypton Toolkit/ZipExtractor/ZipExtractor.csproj +++ b/Source/Krypton Toolkit/ZipExtractor/ZipExtractor.csproj @@ -21,7 +21,7 @@ - +