Commit 4a105fcc kwwwvagaa

添加passwordchar

1 个父辈 2597001f
...@@ -107,6 +107,19 @@ namespace HZH_Controls.Controls ...@@ -107,6 +107,19 @@ namespace HZH_Controls.Controls
btnKeybord.Visible = value; btnKeybord.Visible = value;
} }
} }
[Description("获取或设置一个字符,该值指示文本框中的密码。")]
public char PasswordChar
{
get
{
return txtInput.PasswordChar;
}
set
{
txtInput.PasswordChar = value;
}
}
/// <summary> /// <summary>
/// 获取或设置控件显示的文字的字体。 /// 获取或设置控件显示的文字的字体。
/// </summary> /// </summary>
......
...@@ -28,12 +28,14 @@ ...@@ -28,12 +28,14 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.tvMenu = new HZH_Controls.Controls.TreeViewEx(); this.tvMenu = new HZH_Controls.Controls.TreeViewEx();
this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V(); this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V();
this.panControl = new System.Windows.Forms.Panel(); this.panControl = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.scrollbarComponent1 = new HZH_Controls.Controls.ScrollbarComponent(this.components);
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
...@@ -69,6 +71,7 @@ ...@@ -69,6 +71,7 @@
this.tvMenu.TabIndex = 7; this.tvMenu.TabIndex = 7;
this.tvMenu.TipFont = new System.Drawing.Font("Arial Unicode MS", 12F); this.tvMenu.TipFont = new System.Drawing.Font("Arial Unicode MS", 12F);
this.tvMenu.TipImage = ((System.Drawing.Image)(resources.GetObject("tvMenu.TipImage"))); this.tvMenu.TipImage = ((System.Drawing.Image)(resources.GetObject("tvMenu.TipImage")));
this.scrollbarComponent1.SetUserCustomScrollbar(this.tvMenu, true);
this.tvMenu.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvMenu_AfterSelect); this.tvMenu.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvMenu_AfterSelect);
// //
// ucSplitLine_V1 // ucSplitLine_V1
...@@ -89,6 +92,7 @@ ...@@ -89,6 +92,7 @@
this.panControl.Name = "panControl"; this.panControl.Name = "panControl";
this.panControl.Size = new System.Drawing.Size(815, 669); this.panControl.Size = new System.Drawing.Size(815, 669);
this.panControl.TabIndex = 9; this.panControl.TabIndex = 9;
this.scrollbarComponent1.SetUserCustomScrollbar(this.panControl, true);
// //
// panel1 // panel1
// //
...@@ -146,5 +150,6 @@ ...@@ -146,5 +150,6 @@
private System.Windows.Forms.Panel panControl; private System.Windows.Forms.Panel panControl;
private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.LinkLabel linkLabel1; private System.Windows.Forms.LinkLabel linkLabel1;
private HZH_Controls.Controls.ScrollbarComponent scrollbarComponent1;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -162,6 +162,9 @@ ...@@ -162,6 +162,9 @@
KfUq3QAAAABJRU5ErkJggg== KfUq3QAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="scrollbarComponent1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAAEAeIAAAAEAIAAo+AAAFgAAACgAAAB4AAAAAAEAAAEAIAAAAAAAAPAAAGDqAABg6gAAAAAAAAAA AAABAAEAeIAAAAEAIAAo+AAAFgAAACgAAAB4AAAAAAEAAAEAIAAAAAAAAPAAAGDqAABg6gAAAAAAAAAA
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!