From 18ff94284198f501ef823100ce9f199b97821a1a Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Sun, 11 Aug 2024 09:30:03 +0100 Subject: [PATCH] * Some #65 --- .gitignore | 1 + .../Source/Palette Designer/MainForm.cs | 2 +- .../Pages/ProgressBars.Designer.cs | 161 ++++++++++++++++++ .../Palette Designer/Pages/ProgressBars.cs | 20 +++ .../Palette Designer/Pages/ProgressBars.resx | 120 +++++++++++++ 5 files changed, 303 insertions(+), 1 deletion(-) create mode 100644 Applications/Source/Palette Designer/Pages/ProgressBars.Designer.cs create mode 100644 Applications/Source/Palette Designer/Pages/ProgressBars.cs create mode 100644 Applications/Source/Palette Designer/Pages/ProgressBars.resx diff --git a/.gitignore b/.gitignore index dfcfd56..015ec61 100644 --- a/.gitignore +++ b/.gitignore @@ -348,3 +348,4 @@ MigrationBackup/ # Ionide (cross platform F# VS Code tools) working folder .ionide/ +Applications/Source/Palette Designer/Temp.txt diff --git a/Applications/Source/Palette Designer/MainForm.cs b/Applications/Source/Palette Designer/MainForm.cs index 3c57d9f..6c2912e 100644 --- a/Applications/Source/Palette Designer/MainForm.cs +++ b/Applications/Source/Palette Designer/MainForm.cs @@ -513,7 +513,7 @@ private void ApplyPalette() dataGridViewDisabled.Palette = _palette; dataGridViewNormal.Palette = _palette; - kryptonListView1.Palette = _palette; + //kryptonListView1.Palette = _palette; inputControls1.ApplyPalette(_palette); trackBar1.ApplyPalette(_palette); diff --git a/Applications/Source/Palette Designer/Pages/ProgressBars.Designer.cs b/Applications/Source/Palette Designer/Pages/ProgressBars.Designer.cs new file mode 100644 index 0000000..64a437f --- /dev/null +++ b/Applications/Source/Palette Designer/Pages/ProgressBars.Designer.cs @@ -0,0 +1,161 @@ +namespace PaletteDesigner.Pages +{ + partial class ProgressBars + { + /// + /// 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 Component 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.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel(); + this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel(); + this.kryptonProgressBar1 = new Krypton.Toolkit.KryptonProgressBar(); + this.kryptonProgressBar2 = new Krypton.Toolkit.KryptonProgressBar(); + this.kryptonProgressBar3 = new Krypton.Toolkit.KryptonProgressBar(); + this.kryptonProgressBar4 = new Krypton.Toolkit.KryptonProgressBar(); + this.kryptonCheckBox1 = new Krypton.Toolkit.KryptonCheckBox(); + ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); + this.kryptonPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // kryptonPanel1 + // + this.kryptonPanel1.Controls.Add(this.kryptonCheckBox1); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBar3); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBar4); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBar2); + this.kryptonPanel1.Controls.Add(this.kryptonProgressBar1); + this.kryptonPanel1.Controls.Add(this.kryptonLabel4); + this.kryptonPanel1.Controls.Add(this.kryptonLabel3); + 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(650, 544); + this.kryptonPanel1.TabIndex = 0; + // + // kryptonLabel4 + // + this.kryptonLabel4.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl; + this.kryptonLabel4.Location = new System.Drawing.Point(15, 137); + this.kryptonLabel4.Name = "kryptonLabel4"; + this.kryptonLabel4.Size = new System.Drawing.Size(78, 29); + this.kryptonLabel4.TabIndex = 30; + this.kryptonLabel4.Values.Text = "Normal"; + // + // kryptonLabel3 + // + this.kryptonLabel3.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl; + this.kryptonLabel3.Location = new System.Drawing.Point(15, 15); + this.kryptonLabel3.Name = "kryptonLabel3"; + this.kryptonLabel3.Size = new System.Drawing.Size(88, 29); + this.kryptonLabel3.TabIndex = 31; + this.kryptonLabel3.Values.Text = "Disabled"; + // + // kryptonProgressBar1 + // + this.kryptonProgressBar1.Enabled = false; + this.kryptonProgressBar1.Location = new System.Drawing.Point(15, 51); + this.kryptonProgressBar1.Name = "kryptonProgressBar1"; + this.kryptonProgressBar1.Size = new System.Drawing.Size(444, 37); + 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 = 32; + this.kryptonProgressBar1.Text = "50%"; + this.kryptonProgressBar1.Values.Text = "50%"; + // + // kryptonProgressBar2 + // + this.kryptonProgressBar2.Enabled = false; + this.kryptonProgressBar2.Location = new System.Drawing.Point(15, 94); + this.kryptonProgressBar2.Name = "kryptonProgressBar2"; + this.kryptonProgressBar2.Size = new System.Drawing.Size(444, 37); + this.kryptonProgressBar2.StateCommon.Back.Color1 = System.Drawing.Color.Green; + this.kryptonProgressBar2.StateDisabled.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar2.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar2.TabIndex = 33; + this.kryptonProgressBar2.Text = "50%"; + this.kryptonProgressBar2.Value = 50; + this.kryptonProgressBar2.Values.Text = "50%"; + // + // kryptonProgressBar3 + // + this.kryptonProgressBar3.Location = new System.Drawing.Point(15, 216); + this.kryptonProgressBar3.Name = "kryptonProgressBar3"; + this.kryptonProgressBar3.Size = new System.Drawing.Size(444, 37); + this.kryptonProgressBar3.StateCommon.Back.Color1 = System.Drawing.Color.Green; + this.kryptonProgressBar3.StateDisabled.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar3.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar3.TabIndex = 35; + this.kryptonProgressBar3.Text = "50%"; + this.kryptonProgressBar3.Value = 50; + this.kryptonProgressBar3.Values.Text = "50%"; + // + // kryptonProgressBar4 + // + this.kryptonProgressBar4.Location = new System.Drawing.Point(15, 173); + this.kryptonProgressBar4.Name = "kryptonProgressBar4"; + this.kryptonProgressBar4.Size = new System.Drawing.Size(444, 37); + this.kryptonProgressBar4.StateCommon.Back.Color1 = System.Drawing.Color.Green; + this.kryptonProgressBar4.StateDisabled.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar4.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.OneNote; + this.kryptonProgressBar4.TabIndex = 34; + this.kryptonProgressBar4.Text = "50%"; + this.kryptonProgressBar4.Values.Text = "50%"; + // + // kryptonCheckBox1 + // + this.kryptonCheckBox1.Location = new System.Drawing.Point(15, 260); + this.kryptonCheckBox1.Name = "kryptonCheckBox1"; + this.kryptonCheckBox1.Size = new System.Drawing.Size(125, 20); + this.kryptonCheckBox1.TabIndex = 36; + this.kryptonCheckBox1.Values.Text = "kryptonCheckBox1"; + // + // ProgressBars + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.kryptonPanel1); + this.Name = "ProgressBars"; + this.Size = new System.Drawing.Size(650, 544); + ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); + this.kryptonPanel1.ResumeLayout(false); + this.kryptonPanel1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private KryptonPanel kryptonPanel1; + private KryptonLabel kryptonLabel4; + private KryptonLabel kryptonLabel3; + private KryptonProgressBar kryptonProgressBar1; + private KryptonProgressBar kryptonProgressBar2; + private KryptonProgressBar kryptonProgressBar3; + private KryptonProgressBar kryptonProgressBar4; + private KryptonCheckBox kryptonCheckBox1; + } +} diff --git a/Applications/Source/Palette Designer/Pages/ProgressBars.cs b/Applications/Source/Palette Designer/Pages/ProgressBars.cs new file mode 100644 index 0000000..5e8d8c8 --- /dev/null +++ b/Applications/Source/Palette Designer/Pages/ProgressBars.cs @@ -0,0 +1,20 @@ +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 PaletteDesigner.Pages +{ + public partial class ProgressBars : UserControl + { + public ProgressBars() + { + InitializeComponent(); + } + } +} diff --git a/Applications/Source/Palette Designer/Pages/ProgressBars.resx b/Applications/Source/Palette Designer/Pages/ProgressBars.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Applications/Source/Palette Designer/Pages/ProgressBars.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