aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-11-04 22:00:05 +0000
committerAlex-TIMEHACK <[email protected]>2017-11-04 22:00:05 +0000
commit1cdbf9659b0153285bb56bd35ab58e0a70f4d632 (patch)
tree7f336d542e0b8fdd5ad9789e38054e5c90cdeea9 /Histacom2.Engine
parentcc07981aa3603c74507c9ea0acb6dd0d8418d58e (diff)
downloadhistacom2-1cdbf9659b0153285bb56bd35ab58e0a70f4d632.tar.gz
histacom2-1cdbf9659b0153285bb56bd35ab58e0a70f4d632.tar.bz2
histacom2-1cdbf9659b0153285bb56bd35ab58e0a70f4d632.zip
Final commit!
Diffstat (limited to 'Histacom2.Engine')
-rw-r--r--Histacom2.Engine/UI/ClassicDropDown.cs13
-rw-r--r--Histacom2.Engine/UI/ClassicTextBox.Designer.cs8
-rw-r--r--Histacom2.Engine/UI/ClassicTextbox.cs14
3 files changed, 28 insertions, 7 deletions
diff --git a/Histacom2.Engine/UI/ClassicDropDown.cs b/Histacom2.Engine/UI/ClassicDropDown.cs
index edf2268..e01ca2a 100644
--- a/Histacom2.Engine/UI/ClassicDropDown.cs
+++ b/Histacom2.Engine/UI/ClassicDropDown.cs
@@ -14,7 +14,6 @@ namespace Histacom2.Engine.UI
public partial class ClassicDropDown : UserControl
{
public DropDownOverlay thisOverlay = new DropDownOverlay();
- public bool UseSystemPasswordChar { get; set; }
public bool dropDownShown;
public override string Text
@@ -29,6 +28,18 @@ namespace Histacom2.Engine.UI
}
}
+ public bool UseSystemPasswordChar
+ {
+ get
+ {
+ return textBox1.UseSystemPasswordChar;
+ }
+ set
+ {
+ textBox1.UseSystemPasswordChar = value;
+ }
+ }
+
public static Color textboxcolor = Color.Black;
public static Color _lightBack = Color.Silver;
diff --git a/Histacom2.Engine/UI/ClassicTextBox.Designer.cs b/Histacom2.Engine/UI/ClassicTextBox.Designer.cs
index af6b199..06df3fb 100644
--- a/Histacom2.Engine/UI/ClassicTextBox.Designer.cs
+++ b/Histacom2.Engine/UI/ClassicTextBox.Designer.cs
@@ -42,7 +42,7 @@
// bborder
//
this.bborder.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.bborder.Location = new System.Drawing.Point(2, 15);
+ this.bborder.Location = new System.Drawing.Point(2, 18);
this.bborder.Name = "bborder";
this.bborder.Size = new System.Drawing.Size(96, 2);
this.bborder.TabIndex = 0;
@@ -53,7 +53,7 @@
this.lborder.Dock = System.Windows.Forms.DockStyle.Left;
this.lborder.Location = new System.Drawing.Point(0, 0);
this.lborder.Name = "lborder";
- this.lborder.Size = new System.Drawing.Size(2, 17);
+ this.lborder.Size = new System.Drawing.Size(2, 20);
this.lborder.TabIndex = 1;
this.lborder.TabStop = false;
//
@@ -62,7 +62,7 @@
this.rborder.Dock = System.Windows.Forms.DockStyle.Right;
this.rborder.Location = new System.Drawing.Point(98, 0);
this.rborder.Name = "rborder";
- this.rborder.Size = new System.Drawing.Size(2, 17);
+ this.rborder.Size = new System.Drawing.Size(2, 20);
this.rborder.TabIndex = 2;
this.rborder.TabStop = false;
//
@@ -94,7 +94,7 @@
this.Controls.Add(this.rborder);
this.Controls.Add(this.lborder);
this.Name = "ClassicTextBox";
- this.Size = new System.Drawing.Size(100, 17);
+ this.Size = new System.Drawing.Size(100, 20);
((System.ComponentModel.ISupportInitialize)(this.bborder)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lborder)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rborder)).EndInit();
diff --git a/Histacom2.Engine/UI/ClassicTextbox.cs b/Histacom2.Engine/UI/ClassicTextbox.cs
index f89df03..4847ed5 100644
--- a/Histacom2.Engine/UI/ClassicTextbox.cs
+++ b/Histacom2.Engine/UI/ClassicTextbox.cs
@@ -12,8 +12,6 @@ namespace Histacom2.Engine.UI
{
public partial class ClassicTextBox : UserControl
{
- public bool UseSystemPasswordChar { get; set; }
-
public static Color textboxcolor = Color.Black;
public static Color _lightBack = Color.Silver;
@@ -31,6 +29,18 @@ namespace Histacom2.Engine.UI
}
}
+ public bool UseSystemPasswordChar
+ {
+ get
+ {
+ return textBox1.UseSystemPasswordChar;
+ }
+ set
+ {
+ textBox1.UseSystemPasswordChar = value;
+ }
+ }
+
public ClassicTextBox()
{
InitializeComponent();