From 8af36d49d388e3a27cd44ad2728b78a46b6ad016 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 12 六月 2020 18:34:40 +0800 Subject: [PATCH] '完善' --- WindowsFormsApp1/Test.Designer.cs | 90 +++++++++++++++++++++++++++++++++++--------- 1 files changed, 71 insertions(+), 19 deletions(-) diff --git a/WindowsFormsApp1/Test.Designer.cs b/WindowsFormsApp1/Test.Designer.cs index d59689e..5ca9558 100644 --- a/WindowsFormsApp1/Test.Designer.cs +++ b/WindowsFormsApp1/Test.Designer.cs @@ -37,7 +37,8 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Test)); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label = new HZH_Controls.Controls.UCSplitLabel(); - this.ucDataGridView1 = new HZH_Controls.Controls.UCDataGridView(); + this.textBoxEx1 = new HZH_Controls.Controls.TextBoxEx(); + this.ucTextBoxEx1 = new HZH_Controls.Controls.UCTextBoxEx(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // @@ -63,30 +64,79 @@ this.label.TabIndex = 0; this.label.Text = "鍒嗗壊绾�"; // - // ucDataGridView1 + // textBoxEx1 // - this.ucDataGridView1.BackColor = System.Drawing.Color.White; - this.ucDataGridView1.Columns = null; - this.ucDataGridView1.DataSource = null; - this.ucDataGridView1.HeadFont = new System.Drawing.Font("寰蒋闆呴粦", 12F); - this.ucDataGridView1.HeadHeight = 40; - this.ucDataGridView1.HeadPadingLeft = 0; - this.ucDataGridView1.HeadTextColor = System.Drawing.Color.Black; - this.ucDataGridView1.IsShowCheckBox = false; - this.ucDataGridView1.IsShowHead = true; - this.ucDataGridView1.Location = new System.Drawing.Point(12, 162); - this.ucDataGridView1.Name = "ucDataGridView1"; - this.ucDataGridView1.RowHeight = 40; - this.ucDataGridView1.RowType = typeof(HZH_Controls.Controls.UCDataGridViewRow); - this.ucDataGridView1.Size = new System.Drawing.Size(657, 276); - this.ucDataGridView1.TabIndex = 1; + this.textBoxEx1.DecLength = 2; + this.textBoxEx1.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx1.Location = new System.Drawing.Point(240, 250); + this.textBoxEx1.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBoxEx1.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBoxEx1.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx1.Name = "textBoxEx1"; + this.textBoxEx1.OldText = null; + this.textBoxEx1.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx1.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx1.PromptText = ""; + this.textBoxEx1.RegexPattern = ""; + this.textBoxEx1.Size = new System.Drawing.Size(100, 21); + this.textBoxEx1.TabIndex = 1; + // + // ucTextBoxEx1 + // + this.ucTextBoxEx1.BackColor = System.Drawing.Color.Transparent; + this.ucTextBoxEx1.ConerRadius = 5; + this.ucTextBoxEx1.Cursor = System.Windows.Forms.Cursors.IBeam; + this.ucTextBoxEx1.DecLength = 2; + this.ucTextBoxEx1.FillColor = System.Drawing.Color.Empty; + this.ucTextBoxEx1.FocusBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59))))); + this.ucTextBoxEx1.Font = new System.Drawing.Font("寰蒋闆呴粦", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.ucTextBoxEx1.InputText = ""; + this.ucTextBoxEx1.InputType = HZH_Controls.TextInputType.NotControl; + this.ucTextBoxEx1.IsFocusColor = true; + this.ucTextBoxEx1.IsRadius = true; + this.ucTextBoxEx1.IsShowClearBtn = true; + this.ucTextBoxEx1.IsShowKeyboard = false; + this.ucTextBoxEx1.IsShowRect = true; + this.ucTextBoxEx1.IsShowSearchBtn = false; + this.ucTextBoxEx1.KeyBoardType = HZH_Controls.Controls.KeyBoardType.UCKeyBorderAll_EN; + this.ucTextBoxEx1.Location = new System.Drawing.Point(373, 188); + this.ucTextBoxEx1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.ucTextBoxEx1.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.ucTextBoxEx1.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.ucTextBoxEx1.Name = "ucTextBoxEx1"; + this.ucTextBoxEx1.Padding = new System.Windows.Forms.Padding(5); + this.ucTextBoxEx1.PromptColor = System.Drawing.Color.Gray; + this.ucTextBoxEx1.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.ucTextBoxEx1.PromptText = "Ceshi 123123"; + this.ucTextBoxEx1.RectColor = System.Drawing.Color.White; + this.ucTextBoxEx1.RectWidth = 1; + this.ucTextBoxEx1.RegexPattern = ""; + this.ucTextBoxEx1.Size = new System.Drawing.Size(322, 42); + this.ucTextBoxEx1.TabIndex = 2; // // Test // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.ucDataGridView1); + this.Controls.Add(this.ucTextBoxEx1); + this.Controls.Add(this.textBoxEx1); this.Controls.Add(this.label); this.Controls.Add(this.pictureBox1); this.Name = "Test"; @@ -94,6 +144,7 @@ this.Load += new System.EventHandler(this.Test_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -101,6 +152,7 @@ private System.Windows.Forms.PictureBox pictureBox1; private UCSplitLabel label; - private UCDataGridView ucDataGridView1; + private TextBoxEx textBoxEx1; + private UCTextBoxEx ucTextBoxEx1; } } \ No newline at end of file -- Gitblit v1.8.0