From c14c168a5972ba3f58a6282167617fe150a6c906 Mon Sep 17 00:00:00 2001 From: Jakob Date: Tue, 10 Dec 2024 20:32:20 +0100 Subject: [PATCH] added a readonly edit box to the control preview (#152) --- .../Dialogs/ControlDemoDialog.Designer.cs | 16 ++++++++++++++-- msstyleEditorSharp/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/msstyleEditorSharp/Dialogs/ControlDemoDialog.Designer.cs b/msstyleEditorSharp/Dialogs/ControlDemoDialog.Designer.cs index 4251f0f..0876f61 100644 --- a/msstyleEditorSharp/Dialogs/ControlDemoDialog.Designer.cs +++ b/msstyleEditorSharp/Dialogs/ControlDemoDialog.Designer.cs @@ -59,6 +59,7 @@ private void InitializeComponent() this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.comboBox2 = new System.Windows.Forms.ComboBox(); @@ -286,6 +287,15 @@ private void InitializeComponent() this.textBox3.Text = "password"; this.textBox3.UseSystemPasswordChar = true; // + // textBox4 + // + this.textBox4.Location = new System.Drawing.Point(380, 108); + this.textBox4.Name = "textBox4"; + this.textBox4.ReadOnly = true; + this.textBox4.Size = new System.Drawing.Size(100, 20); + this.textBox4.TabIndex = 45; + this.textBox4.Text = "readonly"; + // // label5 // this.label5.AutoSize = true; @@ -365,7 +375,7 @@ private void InitializeComponent() // label7 // this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(377, 127); + this.label7.Location = new System.Drawing.Point(377, 143); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(30, 13); this.label7.TabIndex = 23; @@ -374,7 +384,7 @@ private void InitializeComponent() // linkLabel1 // this.linkLabel1.AutoSize = true; - this.linkLabel1.Location = new System.Drawing.Point(377, 145); + this.linkLabel1.Location = new System.Drawing.Point(377, 161); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(69, 13); this.linkLabel1.TabIndex = 24; @@ -666,6 +676,7 @@ private void InitializeComponent() this.Controls.Add(this.comboBox2); this.Controls.Add(this.comboBox1); this.Controls.Add(this.label5); + this.Controls.Add(this.textBox4); this.Controls.Add(this.textBox3); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); @@ -717,6 +728,7 @@ private void InitializeComponent() private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.Label label5; private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.ComboBox comboBox2; diff --git a/msstyleEditorSharp/Properties/AssemblyInfo.cs b/msstyleEditorSharp/Properties/AssemblyInfo.cs index df54689..d6e6ca4 100644 --- a/msstyleEditorSharp/Properties/AssemblyInfo.cs +++ b/msstyleEditorSharp/Properties/AssemblyInfo.cs @@ -14,5 +14,5 @@ [assembly: ComVisible(false)] [assembly: Guid("752c3bd1-8014-4d07-a198-823d0c394736")] -[assembly: AssemblyVersion("2.1.0.1")] -[assembly: AssemblyFileVersion("2.1.0.1")] +[assembly: AssemblyVersion("2.1.1.0")] +[assembly: AssemblyFileVersion("2.1.1.0")]