(十五)c#Winform自定义控件-键盘(二)-HZHControls
官网
http://www.hzhcontrols.com
前提
入行已经7,8年了,一直想做一套漂亮点的自定义控件,于是就有了本系列文章。
GitHub:https://github.com/kwwwvagaa/NetWinformControl
码云:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
如果觉得写的还行,请点个 star 支持一下吧
欢迎前来交流探讨: 企鹅群568015492
目录
https://www.cnblogs.com/bfyx/p/11364884.html
准备工作
键盘控件目前分为4中,英文键盘,数字键盘,支付键盘,手写键盘
键盘一般用在到文本框弹出的键盘,那么为什么到现在还没有看到文本框的影子呢?因为文本框的某些功能牵扯到了自定义窗体,所以准备在自定义窗体介绍之后再来说文本框。
本篇文章介绍数字键盘和支付键盘,手写键盘将在后面文本框控件介绍是提及到,此处不单独介绍
开始
首先来说数字键盘
添加用户控件,命名UCKeyBorderNum
全部功能代码如下,没有太多东西
1 private bool useCustomEvent = false; 2 ///3 /// 是否使用自定义的事件来接收按键,当为true时将不再向系统发送按键请求 4 /// 5 [Description("是否使用自定义的事件来接收按键,当为true时将不再向系统发送按键请求"), Category("自定义")] 6 public bool UseCustomEvent 7 { 8 get { return useCustomEvent; } 9 set { useCustomEvent = value; } 10 } 11 [Description("数字点击事件"), Category("自定义")] 12 public event EventHandler NumClick; 13 [Description("删除点击事件"), Category("自定义")] 14 public event EventHandler BackspaceClick; 15 [Description("回车点击事件"), Category("自定义")] 16 public event EventHandler EnterClick; 17 public UCKeyBorderNum() 18 { 19 InitializeComponent(); 20 } 21 22 private void Num_MouseDown(object sender, MouseEventArgs e) 23 { 24 if (NumClick != null) 25 { 26 NumClick(sender, e); 27 } 28 if (useCustomEvent) 29 return; 30 Label lbl = sender as Label; 31 SendKeys.Send(lbl.Tag.ToString()); 32 } 33 34 private void Backspace_MouseDown(object sender, MouseEventArgs e) 35 { 36 if (BackspaceClick != null) 37 { 38 BackspaceClick(sender, e); 39 } 40 if (useCustomEvent) 41 return; 42 Label lbl = sender as Label; 43 SendKeys.Send("{BACKSPACE}"); 44 } 45 46 private void Enter_MouseDown(object sender, MouseEventArgs e) 47 { 48 if (EnterClick != null) 49 { 50 EnterClick(sender, e); 51 } 52 if (useCustomEvent) 53 return; 54 SendKeys.Send("{ENTER}"); 55 }
看下完整代码
1 // 版权所有 黄正辉 交流群:568015492 QQ:623128629 2 // 文件名称:UCKeyBorderNum.cs 3 // 创建日期:2019-08-15 16:00:10 4 // 功能描述:KeyBord 5 // 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control 6 using System; 7 using System.Collections.Generic; 8 using System.ComponentModel; 9 using System.Drawing; 10 using System.Data; 11 using System.Linq; 12 using System.Text; 13 using System.Windows.Forms; 14 15 namespace HZH_Controls.Controls 16 { 17 public partial class UCKeyBorderNum : UserControl 18 { 19 private bool useCustomEvent = false; 20 ///21 /// 是否使用自定义的事件来接收按键,当为true时将不再向系统发送按键请求 22 /// 23 [Description("是否使用自定义的事件来接收按键,当为true时将不再向系统发送按键请求"), Category("自定义")] 24 public bool UseCustomEvent 25 { 26 get { return useCustomEvent; } 27 set { useCustomEvent = value; } 28 } 29 [Description("数字点击事件"), Category("自定义")] 30 public event EventHandler NumClick; 31 [Description("删除点击事件"), Category("自定义")] 32 public event EventHandler BackspaceClick; 33 [Description("回车点击事件"), Category("自定义")] 34 public event EventHandler EnterClick; 35 public UCKeyBorderNum() 36 { 37 InitializeComponent(); 38 } 39 40 private void Num_MouseDown(object sender, MouseEventArgs e) 41 { 42 if (NumClick != null) 43 { 44 NumClick(sender, e); 45 } 46 if (useCustomEvent) 47 return; 48 Label lbl = sender as Label; 49 SendKeys.Send(lbl.Tag.ToString()); 50 } 51 52 private void Backspace_MouseDown(object sender, MouseEventArgs e) 53 { 54 if (BackspaceClick != null) 55 { 56 BackspaceClick(sender, e); 57 } 58 if (useCustomEvent) 59 return; 60 Label lbl = sender as Label; 61 SendKeys.Send("{BACKSPACE}"); 62 } 63 64 private void Enter_MouseDown(object sender, MouseEventArgs e) 65 { 66 if (EnterClick != null) 67 { 68 EnterClick(sender, e); 69 } 70 if (useCustomEvent) 71 return; 72 SendKeys.Send("{ENTER}"); 73 } 74 } 75 }
1 namespace HZH_Controls.Controls 2 { 3 partial class UCKeyBorderNum 4 { 5 ///6 /// 必需的设计器变量。 7 /// 8 private System.ComponentModel.IContainer components = null; 9 10 /// 11 /// 清理所有正在使用的资源。 12 /// 13 /// 如果应释放托管资源,为 true;否则为 false。 14 protected override void Dispose(bool disposing) 15 { 16 if (disposing && (components != null)) 17 { 18 components.Dispose(); 19 } 20 base.Dispose(disposing); 21 } 22 23 #region 组件设计器生成的代码 24 25 /// 26 /// 设计器支持所需的方法 - 不要 27 /// 使用代码编辑器修改此方法的内容。 28 /// 29 private void InitializeComponent() 30 { 31 this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); 32 this.panel14 = new System.Windows.Forms.Panel(); 33 this.label11 = new System.Windows.Forms.Label(); 34 this.ucSplitLine_V14 = new HZH_Controls.Controls.UCSplitLine_V(); 35 this.panel13 = new System.Windows.Forms.Panel(); 36 this.label12 = new System.Windows.Forms.Label(); 37 this.ucSplitLine_V13 = new HZH_Controls.Controls.UCSplitLine_V(); 38 this.panel12 = new System.Windows.Forms.Panel(); 39 this.label13 = new System.Windows.Forms.Label(); 40 this.ucSplitLine_V12 = new HZH_Controls.Controls.UCSplitLine_V(); 41 this.panel11 = new System.Windows.Forms.Panel(); 42 this.label10 = new System.Windows.Forms.Label(); 43 this.ucSplitLine_H11 = new HZH_Controls.Controls.UCSplitLine_H(); 44 this.ucSplitLine_V11 = new HZH_Controls.Controls.UCSplitLine_V(); 45 this.panel10 = new System.Windows.Forms.Panel(); 46 this.label9 = new System.Windows.Forms.Label(); 47 this.ucSplitLine_H10 = new HZH_Controls.Controls.UCSplitLine_H(); 48 this.ucSplitLine_V10 = new HZH_Controls.Controls.UCSplitLine_V(); 49 this.panel9 = new System.Windows.Forms.Panel(); 50 this.label8 = new System.Windows.Forms.Label(); 51 this.ucSplitLine_H9 = new HZH_Controls.Controls.UCSplitLine_H(); 52 this.ucSplitLine_V9 = new HZH_Controls.Controls.UCSplitLine_V(); 53 this.panel8 = new System.Windows.Forms.Panel(); 54 this.label6 = new System.Windows.Forms.Label(); 55 this.ucSplitLine_H8 = new HZH_Controls.Controls.UCSplitLine_H(); 56 this.ucSplitLine_V8 = new HZH_Controls.Controls.UCSplitLine_V(); 57 this.panel7 = new System.Windows.Forms.Panel(); 58 this.label14 = new System.Windows.Forms.Label(); 59 this.panel6 = new System.Windows.Forms.Panel(); 60 this.label7 = new System.Windows.Forms.Label(); 61 this.ucSplitLine_H6 = new HZH_Controls.Controls.UCSplitLine_H(); 62 this.ucSplitLine_V6 = new HZH_Controls.Controls.UCSplitLine_V(); 63 this.panel5 = new System.Windows.Forms.Panel(); 64 this.label3 = new System.Windows.Forms.Label(); 65 this.ucSplitLine_H5 = new HZH_Controls.Controls.UCSplitLine_H(); 66 this.ucSplitLine_V5 = new HZH_Controls.Controls.UCSplitLine_V(); 67 this.panel4 = new System.Windows.Forms.Panel(); 68 this.label5 = new System.Windows.Forms.Label(); 69 this.ucSplitLine_H4 = new HZH_Controls.Controls.UCSplitLine_H(); 70 this.ucSplitLine_V4 = new HZH_Controls.Controls.UCSplitLine_V(); 71 this.panel3 = new System.Windows.Forms.Panel(); 72 this.label4 = new System.Windows.Forms.Label(); 73 this.ucSplitLine_H3 = new HZH_Controls.Controls.UCSplitLine_H(); 74 this.panel2 = new System.Windows.Forms.Panel(); 75 this.label2 = new System.Windows.Forms.Label(); 76 this.ucSplitLine_H2 = new HZH_Controls.Controls.UCSplitLine_H(); 77 this.ucSplitLine_V2 = new HZH_Controls.Controls.UCSplitLine_V(); 78 this.panel1 = new System.Windows.Forms.Panel(); 79 this.label1 = new System.Windows.Forms.Label(); 80 this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H(); 81 this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V(); 82 this.ucSplitLine_V3 = new HZH_Controls.Controls.UCSplitLine_V(); 83 this.ucSplitLine_V7 = new HZH_Controls.Controls.UCSplitLine_V(); 84 this.ucSplitLine_H7 = new HZH_Controls.Controls.UCSplitLine_H(); 85 this.ucSplitLine_H12 = new HZH_Controls.Controls.UCSplitLine_H(); 86 this.tableLayoutPanel1.SuspendLayout(); 87 this.panel14.SuspendLayout(); 88 this.panel13.SuspendLayout(); 89 this.panel12.SuspendLayout(); 90 this.panel11.SuspendLayout(); 91 this.panel10.SuspendLayout(); 92 this.panel9.SuspendLayout(); 93 this.panel8.SuspendLayout(); 94 this.panel7.SuspendLayout(); 95 this.panel6.SuspendLayout(); 96 this.panel5.SuspendLayout(); 97 this.panel4.SuspendLayout(); 98 this.panel3.SuspendLayout(); 99 this.panel2.SuspendLayout(); 100 this.panel1.SuspendLayout(); 101 this.SuspendLayout(); 102 // 103 // tableLayoutPanel1 104 // 105 this.tableLayoutPanel1.ColumnCount = 4; 106 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); 107 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); 108 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); 109 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); 110 this.tableLayoutPanel1.Controls.Add(this.panel14, 0, 3); 111 this.tableLayoutPanel1.Controls.Add(this.panel13, 0, 3); 112 this.tableLayoutPanel1.Controls.Add(this.panel12, 0, 3); 113 this.tableLayoutPanel1.Controls.Add(this.panel11, 0, 2); 114 this.tableLayoutPanel1.Controls.Add(this.panel10, 1, 2); 115 this.tableLayoutPanel1.Controls.Add(this.panel9, 2, 2); 116 this.tableLayoutPanel1.Controls.Add(this.panel8, 1, 1); 117 this.tableLayoutPanel1.Controls.Add(this.panel7, 3, 1); 118 this.tableLayoutPanel1.Controls.Add(this.panel6, 2, 1); 119 this.tableLayoutPanel1.Controls.Add(this.panel5, 2, 0); 120 this.tableLayoutPanel1.Controls.Add(this.panel4, 0, 1); 121 this.tableLayoutPanel1.Controls.Add(this.panel3, 3, 0); 122 this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 0); 123 this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); 124 this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; 125 this.tableLayoutPanel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 126 this.tableLayoutPanel1.Location = new System.Drawing.Point(1, 1); 127 this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); 128 this.tableLayoutPanel1.Name = "tableLayoutPanel1"; 129 this.tableLayoutPanel1.RowCount = 4; 130 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 131 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 132 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 133 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 134 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 135 this.tableLayoutPanel1.Size = new System.Drawing.Size(422, 216); 136 this.tableLayoutPanel1.TabIndex = 0; 137 // 138 // panel14 139 // 140 this.panel14.Controls.Add(this.label11); 141 this.panel14.Controls.Add(this.ucSplitLine_V14); 142 this.panel14.Dock = System.Windows.Forms.DockStyle.Fill; 143 this.panel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 144 this.panel14.Location = new System.Drawing.Point(0, 162); 145 this.panel14.Margin = new System.Windows.Forms.Padding(0); 146 this.panel14.Name = "panel14"; 147 this.panel14.Size = new System.Drawing.Size(105, 54); 148 this.panel14.TabIndex = 13; 149 // 150 // label11 151 // 152 this.label11.Dock = System.Windows.Forms.DockStyle.Fill; 153 this.label11.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 154 this.label11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 155 this.label11.Location = new System.Drawing.Point(0, 0); 156 this.label11.Name = "label11"; 157 this.label11.Size = new System.Drawing.Size(104, 54); 158 this.label11.TabIndex = 3; 159 this.label11.Tag = "00"; 160 this.label11.Text = "00"; 161 this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 162 this.label11.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 163 // 164 // ucSplitLine_V14 165 // 166 this.ucSplitLine_V14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 167 this.ucSplitLine_V14.Dock = System.Windows.Forms.DockStyle.Right; 168 this.ucSplitLine_V14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 169 this.ucSplitLine_V14.Location = new System.Drawing.Point(104, 0); 170 this.ucSplitLine_V14.Name = "ucSplitLine_V14"; 171 this.ucSplitLine_V14.Size = new System.Drawing.Size(1, 54); 172 this.ucSplitLine_V14.TabIndex = 0; 173 this.ucSplitLine_V14.TabStop = false; 174 // 175 // panel13 176 // 177 this.panel13.Controls.Add(this.label12); 178 this.panel13.Controls.Add(this.ucSplitLine_V13); 179 this.panel13.Dock = System.Windows.Forms.DockStyle.Fill; 180 this.panel13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 181 this.panel13.Location = new System.Drawing.Point(105, 162); 182 this.panel13.Margin = new System.Windows.Forms.Padding(0); 183 this.panel13.Name = "panel13"; 184 this.panel13.Size = new System.Drawing.Size(105, 54); 185 this.panel13.TabIndex = 12; 186 // 187 // label12 188 // 189 this.label12.Dock = System.Windows.Forms.DockStyle.Fill; 190 this.label12.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 191 this.label12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 192 this.label12.Location = new System.Drawing.Point(0, 0); 193 this.label12.Name = "label12"; 194 this.label12.Size = new System.Drawing.Size(104, 54); 195 this.label12.TabIndex = 3; 196 this.label12.Tag = "0"; 197 this.label12.Text = "0"; 198 this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 199 this.label12.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 200 // 201 // ucSplitLine_V13 202 // 203 this.ucSplitLine_V13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 204 this.ucSplitLine_V13.Dock = System.Windows.Forms.DockStyle.Right; 205 this.ucSplitLine_V13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 206 this.ucSplitLine_V13.Location = new System.Drawing.Point(104, 0); 207 this.ucSplitLine_V13.Name = "ucSplitLine_V13"; 208 this.ucSplitLine_V13.Size = new System.Drawing.Size(1, 54); 209 this.ucSplitLine_V13.TabIndex = 0; 210 this.ucSplitLine_V13.TabStop = false; 211 // 212 // panel12 213 // 214 this.panel12.Controls.Add(this.label13); 215 this.panel12.Controls.Add(this.ucSplitLine_V12); 216 this.panel12.Dock = System.Windows.Forms.DockStyle.Fill; 217 this.panel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 218 this.panel12.Location = new System.Drawing.Point(210, 162); 219 this.panel12.Margin = new System.Windows.Forms.Padding(0); 220 this.panel12.Name = "panel12"; 221 this.panel12.Size = new System.Drawing.Size(105, 54); 222 this.panel12.TabIndex = 11; 223 // 224 // label13 225 // 226 this.label13.Dock = System.Windows.Forms.DockStyle.Fill; 227 this.label13.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 228 this.label13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 229 this.label13.Location = new System.Drawing.Point(0, 0); 230 this.label13.Name = "label13"; 231 this.label13.Size = new System.Drawing.Size(104, 54); 232 this.label13.TabIndex = 3; 233 this.label13.Tag = "."; 234 this.label13.Text = "."; 235 this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 236 this.label13.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 237 // 238 // ucSplitLine_V12 239 // 240 this.ucSplitLine_V12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 241 this.ucSplitLine_V12.Dock = System.Windows.Forms.DockStyle.Right; 242 this.ucSplitLine_V12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 243 this.ucSplitLine_V12.Location = new System.Drawing.Point(104, 0); 244 this.ucSplitLine_V12.Name = "ucSplitLine_V12"; 245 this.ucSplitLine_V12.Size = new System.Drawing.Size(1, 54); 246 this.ucSplitLine_V12.TabIndex = 0; 247 this.ucSplitLine_V12.TabStop = false; 248 // 249 // panel11 250 // 251 this.panel11.Controls.Add(this.label10); 252 this.panel11.Controls.Add(this.ucSplitLine_H11); 253 this.panel11.Controls.Add(this.ucSplitLine_V11); 254 this.panel11.Dock = System.Windows.Forms.DockStyle.Fill; 255 this.panel11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 256 this.panel11.Location = new System.Drawing.Point(0, 108); 257 this.panel11.Margin = new System.Windows.Forms.Padding(0); 258 this.panel11.Name = "panel11"; 259 this.panel11.Size = new System.Drawing.Size(105, 54); 260 this.panel11.TabIndex = 10; 261 // 262 // label10 263 // 264 this.label10.Dock = System.Windows.Forms.DockStyle.Fill; 265 this.label10.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 266 this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 267 this.label10.Location = new System.Drawing.Point(0, 0); 268 this.label10.Name = "label10"; 269 this.label10.Size = new System.Drawing.Size(104, 53); 270 this.label10.TabIndex = 3; 271 this.label10.Tag = "7"; 272 this.label10.Text = "7"; 273 this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 274 this.label10.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 275 // 276 // ucSplitLine_H11 277 // 278 this.ucSplitLine_H11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 279 this.ucSplitLine_H11.Dock = System.Windows.Forms.DockStyle.Bottom; 280 this.ucSplitLine_H11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 281 this.ucSplitLine_H11.Location = new System.Drawing.Point(0, 53); 282 this.ucSplitLine_H11.Name = "ucSplitLine_H11"; 283 this.ucSplitLine_H11.Size = new System.Drawing.Size(104, 1); 284 this.ucSplitLine_H11.TabIndex = 1; 285 this.ucSplitLine_H11.TabStop = false; 286 // 287 // ucSplitLine_V11 288 // 289 this.ucSplitLine_V11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 290 this.ucSplitLine_V11.Dock = System.Windows.Forms.DockStyle.Right; 291 this.ucSplitLine_V11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 292 this.ucSplitLine_V11.Location = new System.Drawing.Point(104, 0); 293 this.ucSplitLine_V11.Name = "ucSplitLine_V11"; 294 this.ucSplitLine_V11.Size = new System.Drawing.Size(1, 54); 295 this.ucSplitLine_V11.TabIndex = 0; 296 this.ucSplitLine_V11.TabStop = false; 297 // 298 // panel10 299 // 300 this.panel10.Controls.Add(this.label9); 301 this.panel10.Controls.Add(this.ucSplitLine_H10); 302 this.panel10.Controls.Add(this.ucSplitLine_V10); 303 this.panel10.Dock = System.Windows.Forms.DockStyle.Fill; 304 this.panel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 305 this.panel10.Location = new System.Drawing.Point(105, 108); 306 this.panel10.Margin = new System.Windows.Forms.Padding(0); 307 this.panel10.Name = "panel10"; 308 this.panel10.Size = new System.Drawing.Size(105, 54); 309 this.panel10.TabIndex = 9; 310 // 311 // label9 312 // 313 this.label9.Dock = System.Windows.Forms.DockStyle.Fill; 314 this.label9.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 315 this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 316 this.label9.Location = new System.Drawing.Point(0, 0); 317 this.label9.Name = "label9"; 318 this.label9.Size = new System.Drawing.Size(104, 53); 319 this.label9.TabIndex = 3; 320 this.label9.Tag = "8"; 321 this.label9.Text = "8"; 322 this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 323 this.label9.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 324 // 325 // ucSplitLine_H10 326 // 327 this.ucSplitLine_H10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 328 this.ucSplitLine_H10.Dock = System.Windows.Forms.DockStyle.Bottom; 329 this.ucSplitLine_H10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 330 this.ucSplitLine_H10.Location = new System.Drawing.Point(0, 53); 331 this.ucSplitLine_H10.Name = "ucSplitLine_H10"; 332 this.ucSplitLine_H10.Size = new System.Drawing.Size(104, 1); 333 this.ucSplitLine_H10.TabIndex = 1; 334 this.ucSplitLine_H10.TabStop = false; 335 // 336 // ucSplitLine_V10 337 // 338 this.ucSplitLine_V10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 339 this.ucSplitLine_V10.Dock = System.Windows.Forms.DockStyle.Right; 340 this.ucSplitLine_V10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 341 this.ucSplitLine_V10.Location = new System.Drawing.Point(104, 0); 342 this.ucSplitLine_V10.Name = "ucSplitLine_V10"; 343 this.ucSplitLine_V10.Size = new System.Drawing.Size(1, 54); 344 this.ucSplitLine_V10.TabIndex = 0; 345 this.ucSplitLine_V10.TabStop = false; 346 // 347 // panel9 348 // 349 this.panel9.Controls.Add(this.label8); 350 this.panel9.Controls.Add(this.ucSplitLine_H9); 351 this.panel9.Controls.Add(this.ucSplitLine_V9); 352 this.panel9.Dock = System.Windows.Forms.DockStyle.Fill; 353 this.panel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 354 this.panel9.Location = new System.Drawing.Point(210, 108); 355 this.panel9.Margin = new System.Windows.Forms.Padding(0); 356 this.panel9.Name = "panel9"; 357 this.panel9.Size = new System.Drawing.Size(105, 54); 358 this.panel9.TabIndex = 8; 359 // 360 // label8 361 // 362 this.label8.Dock = System.Windows.Forms.DockStyle.Fill; 363 this.label8.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 364 this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 365 this.label8.Location = new System.Drawing.Point(0, 0); 366 this.label8.Name = "label8"; 367 this.label8.Size = new System.Drawing.Size(104, 53); 368 this.label8.TabIndex = 3; 369 this.label8.Tag = "9"; 370 this.label8.Text = "9"; 371 this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 372 this.label8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 373 // 374 // ucSplitLine_H9 375 // 376 this.ucSplitLine_H9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 377 this.ucSplitLine_H9.Dock = System.Windows.Forms.DockStyle.Bottom; 378 this.ucSplitLine_H9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 379 this.ucSplitLine_H9.Location = new System.Drawing.Point(0, 53); 380 this.ucSplitLine_H9.Name = "ucSplitLine_H9"; 381 this.ucSplitLine_H9.Size = new System.Drawing.Size(104, 1); 382 this.ucSplitLine_H9.TabIndex = 1; 383 this.ucSplitLine_H9.TabStop = false; 384 // 385 // ucSplitLine_V9 386 // 387 this.ucSplitLine_V9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 388 this.ucSplitLine_V9.Dock = System.Windows.Forms.DockStyle.Right; 389 this.ucSplitLine_V9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 390 this.ucSplitLine_V9.Location = new System.Drawing.Point(104, 0); 391 this.ucSplitLine_V9.Name = "ucSplitLine_V9"; 392 this.ucSplitLine_V9.Size = new System.Drawing.Size(1, 54); 393 this.ucSplitLine_V9.TabIndex = 0; 394 this.ucSplitLine_V9.TabStop = false; 395 // 396 // panel8 397 // 398 this.panel8.Controls.Add(this.label6); 399 this.panel8.Controls.Add(this.ucSplitLine_H8); 400 this.panel8.Controls.Add(this.ucSplitLine_V8); 401 this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; 402 this.panel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 403 this.panel8.Location = new System.Drawing.Point(105, 54); 404 this.panel8.Margin = new System.Windows.Forms.Padding(0); 405 this.panel8.Name = "panel8"; 406 this.panel8.Size = new System.Drawing.Size(105, 54); 407 this.panel8.TabIndex = 7; 408 // 409 // label6 410 // 411 this.label6.Dock = System.Windows.Forms.DockStyle.Fill; 412 this.label6.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 413 this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 414 this.label6.Location = new System.Drawing.Point(0, 0); 415 this.label6.Name = "label6"; 416 this.label6.Size = new System.Drawing.Size(104, 53); 417 this.label6.TabIndex = 3; 418 this.label6.Tag = "5"; 419 this.label6.Text = "5"; 420 this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 421 this.label6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 422 // 423 // ucSplitLine_H8 424 // 425 this.ucSplitLine_H8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 426 this.ucSplitLine_H8.Dock = System.Windows.Forms.DockStyle.Bottom; 427 this.ucSplitLine_H8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 428 this.ucSplitLine_H8.Location = new System.Drawing.Point(0, 53); 429 this.ucSplitLine_H8.Name = "ucSplitLine_H8"; 430 this.ucSplitLine_H8.Size = new System.Drawing.Size(104, 1); 431 this.ucSplitLine_H8.TabIndex = 1; 432 this.ucSplitLine_H8.TabStop = false; 433 // 434 // ucSplitLine_V8 435 // 436 this.ucSplitLine_V8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 437 this.ucSplitLine_V8.Dock = System.Windows.Forms.DockStyle.Right; 438 this.ucSplitLine_V8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 439 this.ucSplitLine_V8.Location = new System.Drawing.Point(104, 0); 440 this.ucSplitLine_V8.Name = "ucSplitLine_V8"; 441 this.ucSplitLine_V8.Size = new System.Drawing.Size(1, 54); 442 this.ucSplitLine_V8.TabIndex = 0; 443 this.ucSplitLine_V8.TabStop = false; 444 // 445 // panel7 446 // 447 this.panel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(122)))), ((int)(((byte)(122))))); 448 this.panel7.Controls.Add(this.label14); 449 this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; 450 this.panel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 451 this.panel7.Location = new System.Drawing.Point(315, 54); 452 this.panel7.Margin = new System.Windows.Forms.Padding(0); 453 this.panel7.Name = "panel7"; 454 this.tableLayoutPanel1.SetRowSpan(this.panel7, 3); 455 this.panel7.Size = new System.Drawing.Size(107, 162); 456 this.panel7.TabIndex = 6; 457 // 458 // label14 459 // 460 this.label14.BackColor = System.Drawing.Color.White; 461 this.label14.Dock = System.Windows.Forms.DockStyle.Fill; 462 this.label14.Font = new System.Drawing.Font("微软雅黑", 30F); 463 this.label14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 464 this.label14.Location = new System.Drawing.Point(0, 0); 465 this.label14.Name = "label14"; 466 this.label14.Size = new System.Drawing.Size(107, 162); 467 this.label14.TabIndex = 3; 468 this.label14.Tag = "{ENTER}"; 469 this.label14.Text = "确\r\n定"; 470 this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 471 this.label14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Enter_MouseDown); 472 // 473 // panel6 474 // 475 this.panel6.Controls.Add(this.label7); 476 this.panel6.Controls.Add(this.ucSplitLine_H6); 477 this.panel6.Controls.Add(this.ucSplitLine_V6); 478 this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; 479 this.panel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 480 this.panel6.Location = new System.Drawing.Point(210, 54); 481 this.panel6.Margin = new System.Windows.Forms.Padding(0); 482 this.panel6.Name = "panel6"; 483 this.panel6.Size = new System.Drawing.Size(105, 54); 484 this.panel6.TabIndex = 5; 485 // 486 // label7 487 // 488 this.label7.Dock = System.Windows.Forms.DockStyle.Fill; 489 this.label7.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 490 this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 491 this.label7.Location = new System.Drawing.Point(0, 0); 492 this.label7.Name = "label7"; 493 this.label7.Size = new System.Drawing.Size(104, 53); 494 this.label7.TabIndex = 3; 495 this.label7.Tag = "6"; 496 this.label7.Text = "6"; 497 this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 498 this.label7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 499 // 500 // ucSplitLine_H6 501 // 502 this.ucSplitLine_H6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 503 this.ucSplitLine_H6.Dock = System.Windows.Forms.DockStyle.Bottom; 504 this.ucSplitLine_H6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 505 this.ucSplitLine_H6.Location = new System.Drawing.Point(0, 53); 506 this.ucSplitLine_H6.Name = "ucSplitLine_H6"; 507 this.ucSplitLine_H6.Size = new System.Drawing.Size(104, 1); 508 this.ucSplitLine_H6.TabIndex = 1; 509 this.ucSplitLine_H6.TabStop = false; 510 // 511 // ucSplitLine_V6 512 // 513 this.ucSplitLine_V6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 514 this.ucSplitLine_V6.Dock = System.Windows.Forms.DockStyle.Right; 515 this.ucSplitLine_V6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 516 this.ucSplitLine_V6.Location = new System.Drawing.Point(104, 0); 517 this.ucSplitLine_V6.Name = "ucSplitLine_V6"; 518 this.ucSplitLine_V6.Size = new System.Drawing.Size(1, 54); 519 this.ucSplitLine_V6.TabIndex = 0; 520 this.ucSplitLine_V6.TabStop = false; 521 // 522 // panel5 523 // 524 this.panel5.Controls.Add(this.label3); 525 this.panel5.Controls.Add(this.ucSplitLine_H5); 526 this.panel5.Controls.Add(this.ucSplitLine_V5); 527 this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; 528 this.panel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 529 this.panel5.Location = new System.Drawing.Point(210, 0); 530 this.panel5.Margin = new System.Windows.Forms.Padding(0); 531 this.panel5.Name = "panel5"; 532 this.panel5.Size = new System.Drawing.Size(105, 54); 533 this.panel5.TabIndex = 4; 534 // 535 // label3 536 // 537 this.label3.Dock = System.Windows.Forms.DockStyle.Fill; 538 this.label3.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 539 this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 540 this.label3.Location = new System.Drawing.Point(0, 0); 541 this.label3.Name = "label3"; 542 this.label3.Size = new System.Drawing.Size(104, 53); 543 this.label3.TabIndex = 3; 544 this.label3.Tag = "3"; 545 this.label3.Text = "3"; 546 this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 547 this.label3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 548 // 549 // ucSplitLine_H5 550 // 551 this.ucSplitLine_H5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 552 this.ucSplitLine_H5.Dock = System.Windows.Forms.DockStyle.Bottom; 553 this.ucSplitLine_H5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 554 this.ucSplitLine_H5.Location = new System.Drawing.Point(0, 53); 555 this.ucSplitLine_H5.Name = "ucSplitLine_H5"; 556 this.ucSplitLine_H5.Size = new System.Drawing.Size(104, 1); 557 this.ucSplitLine_H5.TabIndex = 1; 558 this.ucSplitLine_H5.TabStop = false; 559 // 560 // ucSplitLine_V5 561 // 562 this.ucSplitLine_V5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 563 this.ucSplitLine_V5.Dock = System.Windows.Forms.DockStyle.Right; 564 this.ucSplitLine_V5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 565 this.ucSplitLine_V5.Location = new System.Drawing.Point(104, 0); 566 this.ucSplitLine_V5.Name = "ucSplitLine_V5"; 567 this.ucSplitLine_V5.Size = new System.Drawing.Size(1, 54); 568 this.ucSplitLine_V5.TabIndex = 0; 569 this.ucSplitLine_V5.TabStop = false; 570 // 571 // panel4 572 // 573 this.panel4.Controls.Add(this.label5); 574 this.panel4.Controls.Add(this.ucSplitLine_H4); 575 this.panel4.Controls.Add(this.ucSplitLine_V4); 576 this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; 577 this.panel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 578 this.panel4.Location = new System.Drawing.Point(0, 54); 579 this.panel4.Margin = new System.Windows.Forms.Padding(0); 580 this.panel4.Name = "panel4"; 581 this.panel4.Size = new System.Drawing.Size(105, 54); 582 this.panel4.TabIndex = 3; 583 // 584 // label5 585 // 586 this.label5.Dock = System.Windows.Forms.DockStyle.Fill; 587 this.label5.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 588 this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 589 this.label5.Location = new System.Drawing.Point(0, 0); 590 this.label5.Name = "label5"; 591 this.label5.Size = new System.Drawing.Size(104, 53); 592 this.label5.TabIndex = 3; 593 this.label5.Tag = "4"; 594 this.label5.Text = "4"; 595 this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 596 this.label5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 597 // 598 // ucSplitLine_H4 599 // 600 this.ucSplitLine_H4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 601 this.ucSplitLine_H4.Dock = System.Windows.Forms.DockStyle.Bottom; 602 this.ucSplitLine_H4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 603 this.ucSplitLine_H4.Location = new System.Drawing.Point(0, 53); 604 this.ucSplitLine_H4.Name = "ucSplitLine_H4"; 605 this.ucSplitLine_H4.Size = new System.Drawing.Size(104, 1); 606 this.ucSplitLine_H4.TabIndex = 1; 607 this.ucSplitLine_H4.TabStop = false; 608 // 609 // ucSplitLine_V4 610 // 611 this.ucSplitLine_V4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 612 this.ucSplitLine_V4.Dock = System.Windows.Forms.DockStyle.Right; 613 this.ucSplitLine_V4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 614 this.ucSplitLine_V4.Location = new System.Drawing.Point(104, 0); 615 this.ucSplitLine_V4.Name = "ucSplitLine_V4"; 616 this.ucSplitLine_V4.Size = new System.Drawing.Size(1, 54); 617 this.ucSplitLine_V4.TabIndex = 0; 618 this.ucSplitLine_V4.TabStop = false; 619 // 620 // panel3 621 // 622 this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(122)))), ((int)(((byte)(122)))), ((int)(((byte)(122))))); 623 this.panel3.Controls.Add(this.label4); 624 this.panel3.Controls.Add(this.ucSplitLine_H3); 625 this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; 626 this.panel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 627 this.panel3.Location = new System.Drawing.Point(315, 0); 628 this.panel3.Margin = new System.Windows.Forms.Padding(0); 629 this.panel3.Name = "panel3"; 630 this.panel3.Size = new System.Drawing.Size(107, 54); 631 this.panel3.TabIndex = 2; 632 // 633 // label4 634 // 635 this.label4.BackColor = System.Drawing.Color.White; 636 this.label4.Dock = System.Windows.Forms.DockStyle.Fill; 637 this.label4.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 638 this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 639 this.label4.Image = global::HZH_Controls.Properties.Resources.keyboard_bs; 640 this.label4.Location = new System.Drawing.Point(0, 0); 641 this.label4.Name = "label4"; 642 this.label4.Size = new System.Drawing.Size(107, 53); 643 this.label4.TabIndex = 3; 644 this.label4.Tag = "{BACKSPACE}"; 645 this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 646 this.label4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Backspace_MouseDown); 647 // 648 // ucSplitLine_H3 649 // 650 this.ucSplitLine_H3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 651 this.ucSplitLine_H3.Dock = System.Windows.Forms.DockStyle.Bottom; 652 this.ucSplitLine_H3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 653 this.ucSplitLine_H3.Location = new System.Drawing.Point(0, 53); 654 this.ucSplitLine_H3.Name = "ucSplitLine_H3"; 655 this.ucSplitLine_H3.Size = new System.Drawing.Size(107, 1); 656 this.ucSplitLine_H3.TabIndex = 1; 657 this.ucSplitLine_H3.TabStop = false; 658 // 659 // panel2 660 // 661 this.panel2.Controls.Add(this.label2); 662 this.panel2.Controls.Add(this.ucSplitLine_H2); 663 this.panel2.Controls.Add(this.ucSplitLine_V2); 664 this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; 665 this.panel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 666 this.panel2.Location = new System.Drawing.Point(105, 0); 667 this.panel2.Margin = new System.Windows.Forms.Padding(0); 668 this.panel2.Name = "panel2"; 669 this.panel2.Size = new System.Drawing.Size(105, 54); 670 this.panel2.TabIndex = 1; 671 // 672 // label2 673 // 674 this.label2.Dock = System.Windows.Forms.DockStyle.Fill; 675 this.label2.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 676 this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 677 this.label2.Location = new System.Drawing.Point(0, 0); 678 this.label2.Name = "label2"; 679 this.label2.Size = new System.Drawing.Size(104, 53); 680 this.label2.TabIndex = 3; 681 this.label2.Tag = "2"; 682 this.label2.Text = "2"; 683 this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 684 this.label2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 685 // 686 // ucSplitLine_H2 687 // 688 this.ucSplitLine_H2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 689 this.ucSplitLine_H2.Dock = System.Windows.Forms.DockStyle.Bottom; 690 this.ucSplitLine_H2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 691 this.ucSplitLine_H2.Location = new System.Drawing.Point(0, 53); 692 this.ucSplitLine_H2.Name = "ucSplitLine_H2"; 693 this.ucSplitLine_H2.Size = new System.Drawing.Size(104, 1); 694 this.ucSplitLine_H2.TabIndex = 1; 695 this.ucSplitLine_H2.TabStop = false; 696 // 697 // ucSplitLine_V2 698 // 699 this.ucSplitLine_V2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 700 this.ucSplitLine_V2.Dock = System.Windows.Forms.DockStyle.Right; 701 this.ucSplitLine_V2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 702 this.ucSplitLine_V2.Location = new System.Drawing.Point(104, 0); 703 this.ucSplitLine_V2.Name = "ucSplitLine_V2"; 704 this.ucSplitLine_V2.Size = new System.Drawing.Size(1, 54); 705 this.ucSplitLine_V2.TabIndex = 0; 706 this.ucSplitLine_V2.TabStop = false; 707 // 708 // panel1 709 // 710 this.panel1.Controls.Add(this.label1); 711 this.panel1.Controls.Add(this.ucSplitLine_H1); 712 this.panel1.Controls.Add(this.ucSplitLine_V1); 713 this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; 714 this.panel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 715 this.panel1.Location = new System.Drawing.Point(0, 0); 716 this.panel1.Margin = new System.Windows.Forms.Padding(0); 717 this.panel1.Name = "panel1"; 718 this.panel1.Size = new System.Drawing.Size(105, 54); 719 this.panel1.TabIndex = 0; 720 // 721 // label1 722 // 723 this.label1.Dock = System.Windows.Forms.DockStyle.Fill; 724 this.label1.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 725 this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 726 this.label1.Location = new System.Drawing.Point(0, 0); 727 this.label1.Name = "label1"; 728 this.label1.Size = new System.Drawing.Size(104, 53); 729 this.label1.TabIndex = 2; 730 this.label1.Tag = "1"; 731 this.label1.Text = "1"; 732 this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 733 this.label1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 734 // 735 // ucSplitLine_H1 736 // 737 this.ucSplitLine_H1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 738 this.ucSplitLine_H1.Dock = System.Windows.Forms.DockStyle.Bottom; 739 this.ucSplitLine_H1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 740 this.ucSplitLine_H1.Location = new System.Drawing.Point(0, 53); 741 this.ucSplitLine_H1.Name = "ucSplitLine_H1"; 742 this.ucSplitLine_H1.Size = new System.Drawing.Size(104, 1); 743 this.ucSplitLine_H1.TabIndex = 1; 744 this.ucSplitLine_H1.TabStop = false; 745 // 746 // ucSplitLine_V1 747 // 748 this.ucSplitLine_V1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 749 this.ucSplitLine_V1.Dock = System.Windows.Forms.DockStyle.Right; 750 this.ucSplitLine_V1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 751 this.ucSplitLine_V1.Location = new System.Drawing.Point(104, 0); 752 this.ucSplitLine_V1.Name = "ucSplitLine_V1"; 753 this.ucSplitLine_V1.Size = new System.Drawing.Size(1, 54); 754 this.ucSplitLine_V1.TabIndex = 0; 755 this.ucSplitLine_V1.TabStop = false; 756 // 757 // ucSplitLine_V3 758 // 759 this.ucSplitLine_V3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 760 this.ucSplitLine_V3.Dock = System.Windows.Forms.DockStyle.Right; 761 this.ucSplitLine_V3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 762 this.ucSplitLine_V3.Location = new System.Drawing.Point(423, 0); 763 this.ucSplitLine_V3.Name = "ucSplitLine_V3"; 764 this.ucSplitLine_V3.Size = new System.Drawing.Size(1, 218); 765 this.ucSplitLine_V3.TabIndex = 1; 766 this.ucSplitLine_V3.TabStop = false; 767 // 768 // ucSplitLine_V7 769 // 770 this.ucSplitLine_V7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 771 this.ucSplitLine_V7.Dock = System.Windows.Forms.DockStyle.Left; 772 this.ucSplitLine_V7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 773 this.ucSplitLine_V7.Location = new System.Drawing.Point(0, 0); 774 this.ucSplitLine_V7.Name = "ucSplitLine_V7"; 775 this.ucSplitLine_V7.Size = new System.Drawing.Size(1, 218); 776 this.ucSplitLine_V7.TabIndex = 2; 777 this.ucSplitLine_V7.TabStop = false; 778 // 779 // ucSplitLine_H7 780 // 781 this.ucSplitLine_H7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 782 this.ucSplitLine_H7.Dock = System.Windows.Forms.DockStyle.Bottom; 783 this.ucSplitLine_H7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 784 this.ucSplitLine_H7.Location = new System.Drawing.Point(1, 217); 785 this.ucSplitLine_H7.Name = "ucSplitLine_H7"; 786 this.ucSplitLine_H7.Size = new System.Drawing.Size(422, 1); 787 this.ucSplitLine_H7.TabIndex = 3; 788 this.ucSplitLine_H7.TabStop = false; 789 // 790 // ucSplitLine_H12 791 // 792 this.ucSplitLine_H12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 793 this.ucSplitLine_H12.Dock = System.Windows.Forms.DockStyle.Top; 794 this.ucSplitLine_H12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 795 this.ucSplitLine_H12.Location = new System.Drawing.Point(1, 0); 796 this.ucSplitLine_H12.Name = "ucSplitLine_H12"; 797 this.ucSplitLine_H12.Size = new System.Drawing.Size(422, 1); 798 this.ucSplitLine_H12.TabIndex = 4; 799 this.ucSplitLine_H12.TabStop = false; 800 // 801 // UCKeyBorderNum 802 // 803 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; 804 this.BackColor = System.Drawing.Color.White; 805 this.Controls.Add(this.tableLayoutPanel1); 806 this.Controls.Add(this.ucSplitLine_H12); 807 this.Controls.Add(this.ucSplitLine_H7); 808 this.Controls.Add(this.ucSplitLine_V7); 809 this.Controls.Add(this.ucSplitLine_V3); 810 this.Name = "UCKeyBorderNum"; 811 this.Size = new System.Drawing.Size(424, 218); 812 this.tableLayoutPanel1.ResumeLayout(false); 813 this.panel14.ResumeLayout(false); 814 this.panel13.ResumeLayout(false); 815 this.panel12.ResumeLayout(false); 816 this.panel11.ResumeLayout(false); 817 this.panel10.ResumeLayout(false); 818 this.panel9.ResumeLayout(false); 819 this.panel8.ResumeLayout(false); 820 this.panel7.ResumeLayout(false); 821 this.panel6.ResumeLayout(false); 822 this.panel5.ResumeLayout(false); 823 this.panel4.ResumeLayout(false); 824 this.panel3.ResumeLayout(false); 825 this.panel2.ResumeLayout(false); 826 this.panel1.ResumeLayout(false); 827 this.ResumeLayout(false); 828 829 } 830 831 #endregion 832 833 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; 834 private System.Windows.Forms.Panel panel1; 835 private System.Windows.Forms.Panel panel14; 836 private UCSplitLine_V ucSplitLine_V14; 837 private System.Windows.Forms.Panel panel13; 838 private UCSplitLine_V ucSplitLine_V13; 839 private System.Windows.Forms.Panel panel12; 840 private UCSplitLine_V ucSplitLine_V12; 841 private System.Windows.Forms.Panel panel11; 842 private UCSplitLine_H ucSplitLine_H11; 843 private UCSplitLine_V ucSplitLine_V11; 844 private System.Windows.Forms.Panel panel10; 845 private UCSplitLine_H ucSplitLine_H10; 846 private UCSplitLine_V ucSplitLine_V10; 847 private System.Windows.Forms.Panel panel9; 848 private UCSplitLine_H ucSplitLine_H9; 849 private UCSplitLine_V ucSplitLine_V9; 850 private System.Windows.Forms.Panel panel8; 851 private UCSplitLine_H ucSplitLine_H8; 852 private UCSplitLine_V ucSplitLine_V8; 853 private System.Windows.Forms.Panel panel7; 854 private System.Windows.Forms.Panel panel6; 855 private UCSplitLine_H ucSplitLine_H6; 856 private UCSplitLine_V ucSplitLine_V6; 857 private System.Windows.Forms.Panel panel5; 858 private UCSplitLine_H ucSplitLine_H5; 859 private UCSplitLine_V ucSplitLine_V5; 860 private System.Windows.Forms.Panel panel4; 861 private UCSplitLine_H ucSplitLine_H4; 862 private UCSplitLine_V ucSplitLine_V4; 863 private System.Windows.Forms.Panel panel3; 864 private UCSplitLine_H ucSplitLine_H3; 865 private System.Windows.Forms.Panel panel2; 866 private UCSplitLine_H ucSplitLine_H2; 867 private UCSplitLine_V ucSplitLine_V2; 868 private UCSplitLine_H ucSplitLine_H1; 869 private UCSplitLine_V ucSplitLine_V1; 870 private System.Windows.Forms.Label label11; 871 private System.Windows.Forms.Label label12; 872 private System.Windows.Forms.Label label13; 873 private System.Windows.Forms.Label label10; 874 private System.Windows.Forms.Label label9; 875 private System.Windows.Forms.Label label8; 876 private System.Windows.Forms.Label label6; 877 private System.Windows.Forms.Label label14; 878 private System.Windows.Forms.Label label7; 879 private System.Windows.Forms.Label label3; 880 private System.Windows.Forms.Label label5; 881 private System.Windows.Forms.Label label4; 882 private System.Windows.Forms.Label label2; 883 private System.Windows.Forms.Label label1; 884 private UCSplitLine_V ucSplitLine_V3; 885 private UCSplitLine_V ucSplitLine_V7; 886 private UCSplitLine_H ucSplitLine_H7; 887 private UCSplitLine_H ucSplitLine_H12; 888 } 889 }
设计效果
下面说支付键盘,这个可能就比较小众的键盘了,支持根据输入金额自动计算可能付款金额
添加用户控件,命名UCKeyBorderPay
同样的东西不多,主要的就一个计算预估付款金额
1 [Description("数字点击事件"), Category("自定义")] 2 public event EventHandler NumClick; 3 4 [Description("取消点击事件"), Category("自定义")] 5 public event EventHandler CancelClick; 6 7 [Description("确定点击事件"), Category("自定义")] 8 public event EventHandler OKClick; 9 10 [Description("删除点击事件"), Category("自定义")] 11 public event EventHandler BackspaceClick; 12 13 [Description("金额点击事件"), Category("自定义")] 14 public event EventHandler MoneyClick; 15 public UCKeyBorderPay() 16 { 17 InitializeComponent(); 18 } 19 20 #region 设置快速付款金额 21 ///22 /// 功能描述:设置快速付款金额 23 /// 作 者:HZH 24 /// 创建日期:2019-03-07 11:41:04 25 /// 任务编号:POS 26 /// 27 /// SorceMoney 28 public void SetPayMoney(decimal SorceMoney) 29 { 30 List<decimal> list = new List<decimal>(); 31 decimal d = Math.Ceiling(SorceMoney); 32 if (SorceMoney > 0m) 33 { 34 if (SorceMoney < 5m) 35 { 36 list.Add(5m); 37 list.Add(10m); 38 list.Add(20m); 39 list.Add(50m); 40 } 41 else if (SorceMoney < 10m) 42 { 43 list.Add(10m); 44 list.Add(20m); 45 list.Add(50m); 46 list.Add(100m); 47 } 48 else 49 { 50 int num = Convert.ToInt32(d % 10m); 51 int num2 = Convert.ToInt32(Math.Floor(d / 10m) % 10m); 52 int num3 = Convert.ToInt32(Math.Floor(d / 100m)); 53 int num4; 54 if (num < 5) 55 { 56 num4 = num2 * 10 + 5; 57 list.Add(num4 + num3 * 100); 58 num4 = (num2 + 1) * 10; 59 list.Add(num4 + num3 * 100); 60 } 61 else 62 { 63 num4 = (num2 + 1) * 10; 64 list.Add(num4 + num3 * 100); 65 } 66 if (num4 >= 0 && num4 < 10) 67 { 68 num4 = 10; 69 if (list.Count < 4) 70 { 71 list.Add(num4 + num3 * 100); 72 } 73 num4 = 20; 74 if (list.Count < 4) 75 { 76 list.Add(num4 + num3 * 100); 77 } 78 num4 = 50; 79 if (list.Count < 4) 80 { 81 list.Add(num4 + num3 * 100); 82 } 83 num4 = 100; 84 if (list.Count < 4) 85 { 86 list.Add(num4 + num3 * 100); 87 } 88 } 89 else if (num4 >= 10 && num4 < 20) 90 { 91 num4 = 20; 92 if (list.Count < 4) 93 { 94 list.Add(num4 + num3 * 100); 95 } 96 num4 = 50; 97 if (list.Count < 4) 98 { 99 list.Add(num4 + num3 * 100); 100 } 101 num4 = 100; 102 if (list.Count < 4) 103 { 104 list.Add(num4 + num3 * 100); 105 } 106 } 107 else if (num4 >= 20 && num4 < 50) 108 { 109 num4 = 50; 110 if (list.Count < 4) 111 { 112 list.Add(num4 + num3 * 100); 113 } 114 num4 = 100; 115 if (list.Count < 4) 116 { 117 list.Add(num4 + num3 * 100); 118 } 119 } 120 else if (num4 < 100) 121 { 122 num4 = 100; 123 if (list.Count < 4) 124 { 125 list.Add(num4 + num3 * 100); 126 } 127 } 128 } 129 } 130 SetFastMoneyToContrl(list); 131 } 132 #endregion 133 134 private void SetFastMoneyToContrl(List<decimal> values) 135 { 136 List
下面看下完整代码
1 // 版权所有 黄正辉 交流群:568015492 QQ:623128629 2 // 文件名称:UCKeyBorderPay.cs 3 // 创建日期:2019-08-15 16:00:14 4 // 功能描述:KeyBord 5 // 项目地址:https://gitee.com/kwwwvagaa/net_winform_custom_control 6 using System; 7 using System.Collections.Generic; 8 using System.ComponentModel; 9 using System.Drawing; 10 using System.Data; 11 using System.Linq; 12 using System.Text; 13 using System.Windows.Forms; 14 15 namespace HZH_Controls.Controls 16 { 17 public partial class UCKeyBorderPay : UserControl 18 { 19 [Description("数字点击事件"), Category("自定义")] 20 public event EventHandler NumClick; 21 22 [Description("取消点击事件"), Category("自定义")] 23 public event EventHandler CancelClick; 24 25 [Description("确定点击事件"), Category("自定义")] 26 public event EventHandler OKClick; 27 28 [Description("删除点击事件"), Category("自定义")] 29 public event EventHandler BackspaceClick; 30 31 [Description("金额点击事件"), Category("自定义")] 32 public event EventHandler MoneyClick; 33 public UCKeyBorderPay() 34 { 35 InitializeComponent(); 36 } 37 38 #region 设置快速付款金额 39 ///40 /// 功能描述:设置快速付款金额 41 /// 作 者:HZH 42 /// 创建日期:2019-03-07 11:41:04 43 /// 任务编号:POS 44 /// 45 /// SorceMoney 46 public void SetPayMoney(decimal SorceMoney) 47 { 48 List<decimal> list = new List<decimal>(); 49 decimal d = Math.Ceiling(SorceMoney); 50 if (SorceMoney > 0m) 51 { 52 if (SorceMoney < 5m) 53 { 54 list.Add(5m); 55 list.Add(10m); 56 list.Add(20m); 57 list.Add(50m); 58 } 59 else if (SorceMoney < 10m) 60 { 61 list.Add(10m); 62 list.Add(20m); 63 list.Add(50m); 64 list.Add(100m); 65 } 66 else 67 { 68 int num = Convert.ToInt32(d % 10m); 69 int num2 = Convert.ToInt32(Math.Floor(d / 10m) % 10m); 70 int num3 = Convert.ToInt32(Math.Floor(d / 100m)); 71 int num4; 72 if (num < 5) 73 { 74 num4 = num2 * 10 + 5; 75 list.Add(num4 + num3 * 100); 76 num4 = (num2 + 1) * 10; 77 list.Add(num4 + num3 * 100); 78 } 79 else 80 { 81 num4 = (num2 + 1) * 10; 82 list.Add(num4 + num3 * 100); 83 } 84 if (num4 >= 0 && num4 < 10) 85 { 86 num4 = 10; 87 if (list.Count < 4) 88 { 89 list.Add(num4 + num3 * 100); 90 } 91 num4 = 20; 92 if (list.Count < 4) 93 { 94 list.Add(num4 + num3 * 100); 95 } 96 num4 = 50; 97 if (list.Count < 4) 98 { 99 list.Add(num4 + num3 * 100); 100 } 101 num4 = 100; 102 if (list.Count < 4) 103 { 104 list.Add(num4 + num3 * 100); 105 } 106 } 107 else if (num4 >= 10 && num4 < 20) 108 { 109 num4 = 20; 110 if (list.Count < 4) 111 { 112 list.Add(num4 + num3 * 100); 113 } 114 num4 = 50; 115 if (list.Count < 4) 116 { 117 list.Add(num4 + num3 * 100); 118 } 119 num4 = 100; 120 if (list.Count < 4) 121 { 122 list.Add(num4 + num3 * 100); 123 } 124 } 125 else if (num4 >= 20 && num4 < 50) 126 { 127 num4 = 50; 128 if (list.Count < 4) 129 { 130 list.Add(num4 + num3 * 100); 131 } 132 num4 = 100; 133 if (list.Count < 4) 134 { 135 list.Add(num4 + num3 * 100); 136 } 137 } 138 else if (num4 < 100) 139 { 140 num4 = 100; 141 if (list.Count < 4) 142 { 143 list.Add(num4 + num3 * 100); 144 } 145 } 146 } 147 } 148 SetFastMoneyToContrl(list); 149 } 150 #endregion 151 152 private void SetFastMoneyToContrl(List<decimal> values) 153 { 154 List lbl = new List () { lblFast1, lblFast2, lblFast3, lblFast4 }; 155 lblFast1.Tag = lblFast1.Text = ""; 156 lblFast2.Tag = lblFast2.Text = ""; 157 lblFast3.Tag = lblFast3.Text = ""; 158 lblFast4.Tag = lblFast4.Text = ""; 159 for (int i = 0; i < lbl.Count && i < values.Count; i++) 160 { 161 if (values[i].ToString("0.##").Length < 4) 162 { 163 lbl[i].Font = new System.Drawing.Font("Arial Unicode MS", 30F); 164 } 165 else 166 { 167 Graphics graphics = lbl[i].CreateGraphics(); 168 for (int j = 0; j < 5; j++) 169 { 170 SizeF sizeF = graphics.MeasureString(values[i].ToString("0.##"), new System.Drawing.Font("Arial Unicode MS", 30 - j * 5), 100, StringFormat.GenericTypographic); 171 if (sizeF.Width <= lbl[i].Width - 20) 172 { 173 lbl[i].Font = new System.Drawing.Font("Arial Unicode MS", 30 - j * 5); 174 break; 175 } 176 } 177 graphics.Dispose(); 178 } 179 lbl[i].Tag = lbl[i].Text = values[i].ToString("0.##"); 180 } 181 } 182 private void Num_MouseDown(object sender, MouseEventArgs e) 183 { 184 if (NumClick != null) 185 NumClick((sender as Label).Tag, e); 186 } 187 188 private void Backspace_MouseDown(object sender, MouseEventArgs e) 189 { 190 if (BackspaceClick != null) 191 BackspaceClick((sender as Label).Tag, e); 192 } 193 194 private void Cancel_MouseDown(object sender, MouseEventArgs e) 195 { 196 if (CancelClick != null) 197 CancelClick((sender as Label).Tag, e); 198 } 199 200 private void OK_MouseDown(object sender, MouseEventArgs e) 201 { 202 if (OKClick != null) 203 OKClick((sender as Label).Tag, e); 204 } 205 206 private void Money_MouseDown(object sender, MouseEventArgs e) 207 { 208 if (MoneyClick != null) 209 MoneyClick((sender as Label).Tag, e); 210 } 211 212 public void Money1Click() 213 { 214 Money_MouseDown(lblFast1, null); 215 } 216 217 public void Money2Click() 218 { 219 Money_MouseDown(lblFast2, null); 220 } 221 222 public void Money3Click() 223 { 224 Money_MouseDown(lblFast3, null); 225 } 226 227 public void Money4Click() 228 { 229 Money_MouseDown(lblFast4, null); 230 } 231 } 232 }
1 namespace HZH_Controls.Controls 2 { 3 partial class UCKeyBorderPay 4 { 5 ///6 /// 必需的设计器变量。 7 /// 8 private System.ComponentModel.IContainer components = null; 9 10 /// 11 /// 清理所有正在使用的资源。 12 /// 13 /// 如果应释放托管资源,为 true;否则为 false。 14 protected override void Dispose(bool disposing) 15 { 16 if (disposing && (components != null)) 17 { 18 components.Dispose(); 19 } 20 base.Dispose(disposing); 21 } 22 23 #region 组件设计器生成的代码 24 25 /// 26 /// 设计器支持所需的方法 - 不要 27 /// 使用代码编辑器修改此方法的内容。 28 /// 29 private void InitializeComponent() 30 { 31 this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); 32 this.panel19 = new System.Windows.Forms.Panel(); 33 this.lblFast4 = new System.Windows.Forms.Label(); 34 this.ucSplitLine_V19 = new HZH_Controls.Controls.UCSplitLine_V(); 35 this.panel18 = new System.Windows.Forms.Panel(); 36 this.label18 = new System.Windows.Forms.Label(); 37 this.panel17 = new System.Windows.Forms.Panel(); 38 this.lblFast3 = new System.Windows.Forms.Label(); 39 this.ucSplitLine_H17 = new HZH_Controls.Controls.UCSplitLine_H(); 40 this.ucSplitLine_V17 = new HZH_Controls.Controls.UCSplitLine_V(); 41 this.panel16 = new System.Windows.Forms.Panel(); 42 this.label16 = new System.Windows.Forms.Label(); 43 this.ucSplitLine_H16 = new HZH_Controls.Controls.UCSplitLine_H(); 44 this.panel15 = new System.Windows.Forms.Panel(); 45 this.lblFast2 = new System.Windows.Forms.Label(); 46 this.ucSplitLine_H15 = new HZH_Controls.Controls.UCSplitLine_H(); 47 this.ucSplitLine_V15 = new HZH_Controls.Controls.UCSplitLine_V(); 48 this.panel14 = new System.Windows.Forms.Panel(); 49 this.label14 = new System.Windows.Forms.Label(); 50 this.ucSplitLine_H14 = new HZH_Controls.Controls.UCSplitLine_H(); 51 this.panel13 = new System.Windows.Forms.Panel(); 52 this.lblFast1 = new System.Windows.Forms.Label(); 53 this.ucSplitLine_H13 = new HZH_Controls.Controls.UCSplitLine_H(); 54 this.ucSplitLine_V13 = new HZH_Controls.Controls.UCSplitLine_V(); 55 this.panel12 = new System.Windows.Forms.Panel(); 56 this.label12 = new System.Windows.Forms.Label(); 57 this.ucSplitLine_V12 = new HZH_Controls.Controls.UCSplitLine_V(); 58 this.panel11 = new System.Windows.Forms.Panel(); 59 this.label11 = new System.Windows.Forms.Label(); 60 this.ucSplitLine_V11 = new HZH_Controls.Controls.UCSplitLine_V(); 61 this.panel10 = new System.Windows.Forms.Panel(); 62 this.label10 = new System.Windows.Forms.Label(); 63 this.ucSplitLine_V10 = new HZH_Controls.Controls.UCSplitLine_V(); 64 this.panel9 = new System.Windows.Forms.Panel(); 65 this.label9 = new System.Windows.Forms.Label(); 66 this.ucSplitLine_H9 = new HZH_Controls.Controls.UCSplitLine_H(); 67 this.ucSplitLine_V9 = new HZH_Controls.Controls.UCSplitLine_V(); 68 this.panel8 = new System.Windows.Forms.Panel(); 69 this.label8 = new System.Windows.Forms.Label(); 70 this.ucSplitLine_H8 = new HZH_Controls.Controls.UCSplitLine_H(); 71 this.ucSplitLine_V8 = new HZH_Controls.Controls.UCSplitLine_V(); 72 this.panel7 = new System.Windows.Forms.Panel(); 73 this.label7 = new System.Windows.Forms.Label(); 74 this.ucSplitLine_H7 = new HZH_Controls.Controls.UCSplitLine_H(); 75 this.ucSplitLine_V7 = new HZH_Controls.Controls.UCSplitLine_V(); 76 this.panel6 = new System.Windows.Forms.Panel(); 77 this.label6 = new System.Windows.Forms.Label(); 78 this.ucSplitLine_H6 = new HZH_Controls.Controls.UCSplitLine_H(); 79 this.ucSplitLine_V6 = new HZH_Controls.Controls.UCSplitLine_V(); 80 this.panel5 = new System.Windows.Forms.Panel(); 81 this.label5 = new System.Windows.Forms.Label(); 82 this.ucSplitLine_H5 = new HZH_Controls.Controls.UCSplitLine_H(); 83 this.ucSplitLine_V5 = new HZH_Controls.Controls.UCSplitLine_V(); 84 this.panel4 = new System.Windows.Forms.Panel(); 85 this.label4 = new System.Windows.Forms.Label(); 86 this.ucSplitLine_H4 = new HZH_Controls.Controls.UCSplitLine_H(); 87 this.ucSplitLine_V4 = new HZH_Controls.Controls.UCSplitLine_V(); 88 this.panel3 = new System.Windows.Forms.Panel(); 89 this.label3 = new System.Windows.Forms.Label(); 90 this.ucSplitLine_H3 = new HZH_Controls.Controls.UCSplitLine_H(); 91 this.ucSplitLine_V3 = new HZH_Controls.Controls.UCSplitLine_V(); 92 this.panel2 = new System.Windows.Forms.Panel(); 93 this.label2 = new System.Windows.Forms.Label(); 94 this.ucSplitLine_H2 = new HZH_Controls.Controls.UCSplitLine_H(); 95 this.ucSplitLine_V2 = new HZH_Controls.Controls.UCSplitLine_V(); 96 this.panel1 = new System.Windows.Forms.Panel(); 97 this.label1 = new System.Windows.Forms.Label(); 98 this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H(); 99 this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V(); 100 this.ucSplitLine_H11 = new HZH_Controls.Controls.UCSplitLine_H(); 101 this.ucSplitLine_H10 = new HZH_Controls.Controls.UCSplitLine_H(); 102 this.ucSplitLine_V16 = new HZH_Controls.Controls.UCSplitLine_V(); 103 this.ucSplitLine_V14 = new HZH_Controls.Controls.UCSplitLine_V(); 104 this.tableLayoutPanel1.SuspendLayout(); 105 this.panel19.SuspendLayout(); 106 this.panel18.SuspendLayout(); 107 this.panel17.SuspendLayout(); 108 this.panel16.SuspendLayout(); 109 this.panel15.SuspendLayout(); 110 this.panel14.SuspendLayout(); 111 this.panel13.SuspendLayout(); 112 this.panel12.SuspendLayout(); 113 this.panel11.SuspendLayout(); 114 this.panel10.SuspendLayout(); 115 this.panel9.SuspendLayout(); 116 this.panel8.SuspendLayout(); 117 this.panel7.SuspendLayout(); 118 this.panel6.SuspendLayout(); 119 this.panel5.SuspendLayout(); 120 this.panel4.SuspendLayout(); 121 this.panel3.SuspendLayout(); 122 this.panel2.SuspendLayout(); 123 this.panel1.SuspendLayout(); 124 this.SuspendLayout(); 125 // 126 // tableLayoutPanel1 127 // 128 this.tableLayoutPanel1.BackColor = System.Drawing.Color.Transparent; 129 this.tableLayoutPanel1.ColumnCount = 5; 130 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); 131 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); 132 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); 133 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); 134 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); 135 this.tableLayoutPanel1.Controls.Add(this.panel19, 3, 3); 136 this.tableLayoutPanel1.Controls.Add(this.panel18, 4, 2); 137 this.tableLayoutPanel1.Controls.Add(this.panel17, 3, 2); 138 this.tableLayoutPanel1.Controls.Add(this.panel16, 4, 1); 139 this.tableLayoutPanel1.Controls.Add(this.panel15, 3, 1); 140 this.tableLayoutPanel1.Controls.Add(this.panel14, 4, 0); 141 this.tableLayoutPanel1.Controls.Add(this.panel13, 3, 0); 142 this.tableLayoutPanel1.Controls.Add(this.panel12, 2, 3); 143 this.tableLayoutPanel1.Controls.Add(this.panel11, 1, 3); 144 this.tableLayoutPanel1.Controls.Add(this.panel10, 0, 3); 145 this.tableLayoutPanel1.Controls.Add(this.panel9, 2, 2); 146 this.tableLayoutPanel1.Controls.Add(this.panel8, 1, 2); 147 this.tableLayoutPanel1.Controls.Add(this.panel7, 0, 2); 148 this.tableLayoutPanel1.Controls.Add(this.panel6, 2, 1); 149 this.tableLayoutPanel1.Controls.Add(this.panel5, 1, 1); 150 this.tableLayoutPanel1.Controls.Add(this.panel4, 0, 1); 151 this.tableLayoutPanel1.Controls.Add(this.panel3, 2, 0); 152 this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 0); 153 this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); 154 this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; 155 this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); 156 this.tableLayoutPanel1.Name = "tableLayoutPanel1"; 157 this.tableLayoutPanel1.RowCount = 4; 158 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 159 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 160 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 161 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); 162 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 163 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 164 this.tableLayoutPanel1.Size = new System.Drawing.Size(489, 352); 165 this.tableLayoutPanel1.TabIndex = 0; 166 // 167 // panel19 168 // 169 this.panel19.Controls.Add(this.lblFast4); 170 this.panel19.Controls.Add(this.ucSplitLine_V19); 171 this.panel19.Dock = System.Windows.Forms.DockStyle.Fill; 172 this.panel19.Location = new System.Drawing.Point(291, 264); 173 this.panel19.Margin = new System.Windows.Forms.Padding(0); 174 this.panel19.Name = "panel19"; 175 this.panel19.Size = new System.Drawing.Size(97, 88); 176 this.panel19.TabIndex = 19; 177 // 178 // lblFast4 179 // 180 this.lblFast4.BackColor = System.Drawing.Color.White; 181 this.lblFast4.Dock = System.Windows.Forms.DockStyle.Fill; 182 this.lblFast4.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 183 this.lblFast4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); 184 this.lblFast4.Location = new System.Drawing.Point(0, 0); 185 this.lblFast4.Name = "lblFast4"; 186 this.lblFast4.Size = new System.Drawing.Size(96, 88); 187 this.lblFast4.TabIndex = 2; 188 this.lblFast4.Tag = ""; 189 this.lblFast4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 190 this.lblFast4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Money_MouseDown); 191 // 192 // ucSplitLine_V19 193 // 194 this.ucSplitLine_V19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 195 this.ucSplitLine_V19.Dock = System.Windows.Forms.DockStyle.Right; 196 this.ucSplitLine_V19.Location = new System.Drawing.Point(96, 0); 197 this.ucSplitLine_V19.Name = "ucSplitLine_V19"; 198 this.ucSplitLine_V19.Size = new System.Drawing.Size(1, 88); 199 this.ucSplitLine_V19.TabIndex = 0; 200 this.ucSplitLine_V19.TabStop = false; 201 // 202 // panel18 203 // 204 this.panel18.Controls.Add(this.label18); 205 this.panel18.Dock = System.Windows.Forms.DockStyle.Fill; 206 this.panel18.Location = new System.Drawing.Point(388, 176); 207 this.panel18.Margin = new System.Windows.Forms.Padding(0); 208 this.panel18.Name = "panel18"; 209 this.tableLayoutPanel1.SetRowSpan(this.panel18, 2); 210 this.panel18.Size = new System.Drawing.Size(101, 176); 211 this.panel18.TabIndex = 18; 212 // 213 // label18 214 // 215 this.label18.BackColor = System.Drawing.Color.White; 216 this.label18.Dock = System.Windows.Forms.DockStyle.Fill; 217 this.label18.Font = new System.Drawing.Font("微软雅黑", 20F); 218 this.label18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 219 this.label18.Location = new System.Drawing.Point(0, 0); 220 this.label18.Name = "label18"; 221 this.label18.Size = new System.Drawing.Size(101, 176); 222 this.label18.TabIndex = 2; 223 this.label18.Tag = "确定"; 224 this.label18.Text = "确\r\n定"; 225 this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 226 this.label18.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OK_MouseDown); 227 // 228 // panel17 229 // 230 this.panel17.Controls.Add(this.lblFast3); 231 this.panel17.Controls.Add(this.ucSplitLine_H17); 232 this.panel17.Controls.Add(this.ucSplitLine_V17); 233 this.panel17.Dock = System.Windows.Forms.DockStyle.Fill; 234 this.panel17.Location = new System.Drawing.Point(291, 176); 235 this.panel17.Margin = new System.Windows.Forms.Padding(0); 236 this.panel17.Name = "panel17"; 237 this.panel17.Size = new System.Drawing.Size(97, 88); 238 this.panel17.TabIndex = 17; 239 // 240 // lblFast3 241 // 242 this.lblFast3.BackColor = System.Drawing.Color.White; 243 this.lblFast3.Dock = System.Windows.Forms.DockStyle.Fill; 244 this.lblFast3.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 245 this.lblFast3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); 246 this.lblFast3.Location = new System.Drawing.Point(0, 0); 247 this.lblFast3.Name = "lblFast3"; 248 this.lblFast3.Size = new System.Drawing.Size(96, 87); 249 this.lblFast3.TabIndex = 2; 250 this.lblFast3.Tag = ""; 251 this.lblFast3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 252 this.lblFast3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Money_MouseDown); 253 // 254 // ucSplitLine_H17 255 // 256 this.ucSplitLine_H17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 257 this.ucSplitLine_H17.Dock = System.Windows.Forms.DockStyle.Bottom; 258 this.ucSplitLine_H17.Location = new System.Drawing.Point(0, 87); 259 this.ucSplitLine_H17.Name = "ucSplitLine_H17"; 260 this.ucSplitLine_H17.Size = new System.Drawing.Size(96, 1); 261 this.ucSplitLine_H17.TabIndex = 1; 262 this.ucSplitLine_H17.TabStop = false; 263 // 264 // ucSplitLine_V17 265 // 266 this.ucSplitLine_V17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 267 this.ucSplitLine_V17.Dock = System.Windows.Forms.DockStyle.Right; 268 this.ucSplitLine_V17.Location = new System.Drawing.Point(96, 0); 269 this.ucSplitLine_V17.Name = "ucSplitLine_V17"; 270 this.ucSplitLine_V17.Size = new System.Drawing.Size(1, 88); 271 this.ucSplitLine_V17.TabIndex = 0; 272 this.ucSplitLine_V17.TabStop = false; 273 // 274 // panel16 275 // 276 this.panel16.Controls.Add(this.label16); 277 this.panel16.Controls.Add(this.ucSplitLine_H16); 278 this.panel16.Dock = System.Windows.Forms.DockStyle.Fill; 279 this.panel16.Location = new System.Drawing.Point(388, 88); 280 this.panel16.Margin = new System.Windows.Forms.Padding(0); 281 this.panel16.Name = "panel16"; 282 this.panel16.Size = new System.Drawing.Size(101, 88); 283 this.panel16.TabIndex = 16; 284 // 285 // label16 286 // 287 this.label16.BackColor = System.Drawing.Color.White; 288 this.label16.Dock = System.Windows.Forms.DockStyle.Fill; 289 this.label16.Font = new System.Drawing.Font("微软雅黑", 20F); 290 this.label16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 291 this.label16.Location = new System.Drawing.Point(0, 0); 292 this.label16.Name = "label16"; 293 this.label16.Size = new System.Drawing.Size(101, 87); 294 this.label16.TabIndex = 2; 295 this.label16.Tag = "取消"; 296 this.label16.Text = "取消"; 297 this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 298 this.label16.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Cancel_MouseDown); 299 // 300 // ucSplitLine_H16 301 // 302 this.ucSplitLine_H16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 303 this.ucSplitLine_H16.Dock = System.Windows.Forms.DockStyle.Bottom; 304 this.ucSplitLine_H16.Location = new System.Drawing.Point(0, 87); 305 this.ucSplitLine_H16.Name = "ucSplitLine_H16"; 306 this.ucSplitLine_H16.Size = new System.Drawing.Size(101, 1); 307 this.ucSplitLine_H16.TabIndex = 1; 308 this.ucSplitLine_H16.TabStop = false; 309 // 310 // panel15 311 // 312 this.panel15.Controls.Add(this.lblFast2); 313 this.panel15.Controls.Add(this.ucSplitLine_H15); 314 this.panel15.Controls.Add(this.ucSplitLine_V15); 315 this.panel15.Dock = System.Windows.Forms.DockStyle.Fill; 316 this.panel15.Location = new System.Drawing.Point(291, 88); 317 this.panel15.Margin = new System.Windows.Forms.Padding(0); 318 this.panel15.Name = "panel15"; 319 this.panel15.Size = new System.Drawing.Size(97, 88); 320 this.panel15.TabIndex = 15; 321 // 322 // lblFast2 323 // 324 this.lblFast2.BackColor = System.Drawing.Color.White; 325 this.lblFast2.Dock = System.Windows.Forms.DockStyle.Fill; 326 this.lblFast2.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 327 this.lblFast2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); 328 this.lblFast2.Location = new System.Drawing.Point(0, 0); 329 this.lblFast2.Name = "lblFast2"; 330 this.lblFast2.Size = new System.Drawing.Size(96, 87); 331 this.lblFast2.TabIndex = 2; 332 this.lblFast2.Tag = ""; 333 this.lblFast2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 334 this.lblFast2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Money_MouseDown); 335 // 336 // ucSplitLine_H15 337 // 338 this.ucSplitLine_H15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 339 this.ucSplitLine_H15.Dock = System.Windows.Forms.DockStyle.Bottom; 340 this.ucSplitLine_H15.Location = new System.Drawing.Point(0, 87); 341 this.ucSplitLine_H15.Name = "ucSplitLine_H15"; 342 this.ucSplitLine_H15.Size = new System.Drawing.Size(96, 1); 343 this.ucSplitLine_H15.TabIndex = 1; 344 this.ucSplitLine_H15.TabStop = false; 345 // 346 // ucSplitLine_V15 347 // 348 this.ucSplitLine_V15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 349 this.ucSplitLine_V15.Dock = System.Windows.Forms.DockStyle.Right; 350 this.ucSplitLine_V15.Location = new System.Drawing.Point(96, 0); 351 this.ucSplitLine_V15.Name = "ucSplitLine_V15"; 352 this.ucSplitLine_V15.Size = new System.Drawing.Size(1, 88); 353 this.ucSplitLine_V15.TabIndex = 0; 354 this.ucSplitLine_V15.TabStop = false; 355 // 356 // panel14 357 // 358 this.panel14.Controls.Add(this.label14); 359 this.panel14.Controls.Add(this.ucSplitLine_H14); 360 this.panel14.Dock = System.Windows.Forms.DockStyle.Fill; 361 this.panel14.Location = new System.Drawing.Point(388, 0); 362 this.panel14.Margin = new System.Windows.Forms.Padding(0); 363 this.panel14.Name = "panel14"; 364 this.panel14.Size = new System.Drawing.Size(101, 88); 365 this.panel14.TabIndex = 14; 366 // 367 // label14 368 // 369 this.label14.BackColor = System.Drawing.Color.White; 370 this.label14.Dock = System.Windows.Forms.DockStyle.Fill; 371 this.label14.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 372 this.label14.ForeColor = System.Drawing.Color.Black; 373 this.label14.Image = global::HZH_Controls.Properties.Resources.keyboard_bs; 374 this.label14.Location = new System.Drawing.Point(0, 0); 375 this.label14.Name = "label14"; 376 this.label14.Size = new System.Drawing.Size(101, 87); 377 this.label14.TabIndex = 2; 378 this.label14.Tag = "删除"; 379 this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 380 this.label14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Backspace_MouseDown); 381 // 382 // ucSplitLine_H14 383 // 384 this.ucSplitLine_H14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 385 this.ucSplitLine_H14.Dock = System.Windows.Forms.DockStyle.Bottom; 386 this.ucSplitLine_H14.Location = new System.Drawing.Point(0, 87); 387 this.ucSplitLine_H14.Name = "ucSplitLine_H14"; 388 this.ucSplitLine_H14.Size = new System.Drawing.Size(101, 1); 389 this.ucSplitLine_H14.TabIndex = 1; 390 this.ucSplitLine_H14.TabStop = false; 391 // 392 // panel13 393 // 394 this.panel13.Controls.Add(this.lblFast1); 395 this.panel13.Controls.Add(this.ucSplitLine_H13); 396 this.panel13.Controls.Add(this.ucSplitLine_V13); 397 this.panel13.Dock = System.Windows.Forms.DockStyle.Fill; 398 this.panel13.Location = new System.Drawing.Point(291, 0); 399 this.panel13.Margin = new System.Windows.Forms.Padding(0); 400 this.panel13.Name = "panel13"; 401 this.panel13.Size = new System.Drawing.Size(97, 88); 402 this.panel13.TabIndex = 13; 403 // 404 // lblFast1 405 // 406 this.lblFast1.BackColor = System.Drawing.Color.White; 407 this.lblFast1.Dock = System.Windows.Forms.DockStyle.Fill; 408 this.lblFast1.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 409 this.lblFast1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); 410 this.lblFast1.Location = new System.Drawing.Point(0, 0); 411 this.lblFast1.Name = "lblFast1"; 412 this.lblFast1.Size = new System.Drawing.Size(96, 87); 413 this.lblFast1.TabIndex = 2; 414 this.lblFast1.Tag = ""; 415 this.lblFast1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 416 this.lblFast1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Money_MouseDown); 417 // 418 // ucSplitLine_H13 419 // 420 this.ucSplitLine_H13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 421 this.ucSplitLine_H13.Dock = System.Windows.Forms.DockStyle.Bottom; 422 this.ucSplitLine_H13.Location = new System.Drawing.Point(0, 87); 423 this.ucSplitLine_H13.Name = "ucSplitLine_H13"; 424 this.ucSplitLine_H13.Size = new System.Drawing.Size(96, 1); 425 this.ucSplitLine_H13.TabIndex = 1; 426 this.ucSplitLine_H13.TabStop = false; 427 // 428 // ucSplitLine_V13 429 // 430 this.ucSplitLine_V13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 431 this.ucSplitLine_V13.Dock = System.Windows.Forms.DockStyle.Right; 432 this.ucSplitLine_V13.Location = new System.Drawing.Point(96, 0); 433 this.ucSplitLine_V13.Name = "ucSplitLine_V13"; 434 this.ucSplitLine_V13.Size = new System.Drawing.Size(1, 88); 435 this.ucSplitLine_V13.TabIndex = 0; 436 this.ucSplitLine_V13.TabStop = false; 437 // 438 // panel12 439 // 440 this.panel12.Controls.Add(this.label12); 441 this.panel12.Controls.Add(this.ucSplitLine_V12); 442 this.panel12.Dock = System.Windows.Forms.DockStyle.Fill; 443 this.panel12.Location = new System.Drawing.Point(194, 264); 444 this.panel12.Margin = new System.Windows.Forms.Padding(0); 445 this.panel12.Name = "panel12"; 446 this.panel12.Size = new System.Drawing.Size(97, 88); 447 this.panel12.TabIndex = 12; 448 // 449 // label12 450 // 451 this.label12.BackColor = System.Drawing.Color.White; 452 this.label12.Dock = System.Windows.Forms.DockStyle.Fill; 453 this.label12.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 454 this.label12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 455 this.label12.Location = new System.Drawing.Point(0, 0); 456 this.label12.Name = "label12"; 457 this.label12.Size = new System.Drawing.Size(96, 88); 458 this.label12.TabIndex = 2; 459 this.label12.Tag = "."; 460 this.label12.Text = "."; 461 this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 462 this.label12.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 463 // 464 // ucSplitLine_V12 465 // 466 this.ucSplitLine_V12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 467 this.ucSplitLine_V12.Dock = System.Windows.Forms.DockStyle.Right; 468 this.ucSplitLine_V12.Location = new System.Drawing.Point(96, 0); 469 this.ucSplitLine_V12.Name = "ucSplitLine_V12"; 470 this.ucSplitLine_V12.Size = new System.Drawing.Size(1, 88); 471 this.ucSplitLine_V12.TabIndex = 0; 472 this.ucSplitLine_V12.TabStop = false; 473 // 474 // panel11 475 // 476 this.panel11.Controls.Add(this.label11); 477 this.panel11.Controls.Add(this.ucSplitLine_V11); 478 this.panel11.Dock = System.Windows.Forms.DockStyle.Fill; 479 this.panel11.Location = new System.Drawing.Point(97, 264); 480 this.panel11.Margin = new System.Windows.Forms.Padding(0); 481 this.panel11.Name = "panel11"; 482 this.panel11.Size = new System.Drawing.Size(97, 88); 483 this.panel11.TabIndex = 11; 484 // 485 // label11 486 // 487 this.label11.BackColor = System.Drawing.Color.White; 488 this.label11.Dock = System.Windows.Forms.DockStyle.Fill; 489 this.label11.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 490 this.label11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 491 this.label11.Location = new System.Drawing.Point(0, 0); 492 this.label11.Name = "label11"; 493 this.label11.Size = new System.Drawing.Size(96, 88); 494 this.label11.TabIndex = 2; 495 this.label11.Tag = "0"; 496 this.label11.Text = "0"; 497 this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 498 this.label11.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 499 // 500 // ucSplitLine_V11 501 // 502 this.ucSplitLine_V11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 503 this.ucSplitLine_V11.Dock = System.Windows.Forms.DockStyle.Right; 504 this.ucSplitLine_V11.Location = new System.Drawing.Point(96, 0); 505 this.ucSplitLine_V11.Name = "ucSplitLine_V11"; 506 this.ucSplitLine_V11.Size = new System.Drawing.Size(1, 88); 507 this.ucSplitLine_V11.TabIndex = 0; 508 this.ucSplitLine_V11.TabStop = false; 509 // 510 // panel10 511 // 512 this.panel10.Controls.Add(this.label10); 513 this.panel10.Controls.Add(this.ucSplitLine_V10); 514 this.panel10.Dock = System.Windows.Forms.DockStyle.Fill; 515 this.panel10.Location = new System.Drawing.Point(0, 264); 516 this.panel10.Margin = new System.Windows.Forms.Padding(0); 517 this.panel10.Name = "panel10"; 518 this.panel10.Size = new System.Drawing.Size(97, 88); 519 this.panel10.TabIndex = 10; 520 // 521 // label10 522 // 523 this.label10.BackColor = System.Drawing.Color.White; 524 this.label10.Dock = System.Windows.Forms.DockStyle.Fill; 525 this.label10.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 526 this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 527 this.label10.Location = new System.Drawing.Point(0, 0); 528 this.label10.Name = "label10"; 529 this.label10.Size = new System.Drawing.Size(96, 88); 530 this.label10.TabIndex = 2; 531 this.label10.Tag = "-"; 532 this.label10.Text = "-"; 533 this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 534 this.label10.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 535 // 536 // ucSplitLine_V10 537 // 538 this.ucSplitLine_V10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 539 this.ucSplitLine_V10.Dock = System.Windows.Forms.DockStyle.Right; 540 this.ucSplitLine_V10.Location = new System.Drawing.Point(96, 0); 541 this.ucSplitLine_V10.Name = "ucSplitLine_V10"; 542 this.ucSplitLine_V10.Size = new System.Drawing.Size(1, 88); 543 this.ucSplitLine_V10.TabIndex = 0; 544 this.ucSplitLine_V10.TabStop = false; 545 // 546 // panel9 547 // 548 this.panel9.Controls.Add(this.label9); 549 this.panel9.Controls.Add(this.ucSplitLine_H9); 550 this.panel9.Controls.Add(this.ucSplitLine_V9); 551 this.panel9.Dock = System.Windows.Forms.DockStyle.Fill; 552 this.panel9.Location = new System.Drawing.Point(194, 176); 553 this.panel9.Margin = new System.Windows.Forms.Padding(0); 554 this.panel9.Name = "panel9"; 555 this.panel9.Size = new System.Drawing.Size(97, 88); 556 this.panel9.TabIndex = 9; 557 // 558 // label9 559 // 560 this.label9.BackColor = System.Drawing.Color.White; 561 this.label9.Dock = System.Windows.Forms.DockStyle.Fill; 562 this.label9.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 563 this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 564 this.label9.Location = new System.Drawing.Point(0, 0); 565 this.label9.Name = "label9"; 566 this.label9.Size = new System.Drawing.Size(96, 87); 567 this.label9.TabIndex = 2; 568 this.label9.Tag = "9"; 569 this.label9.Text = "9"; 570 this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 571 this.label9.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 572 // 573 // ucSplitLine_H9 574 // 575 this.ucSplitLine_H9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 576 this.ucSplitLine_H9.Dock = System.Windows.Forms.DockStyle.Bottom; 577 this.ucSplitLine_H9.Location = new System.Drawing.Point(0, 87); 578 this.ucSplitLine_H9.Name = "ucSplitLine_H9"; 579 this.ucSplitLine_H9.Size = new System.Drawing.Size(96, 1); 580 this.ucSplitLine_H9.TabIndex = 1; 581 this.ucSplitLine_H9.TabStop = false; 582 // 583 // ucSplitLine_V9 584 // 585 this.ucSplitLine_V9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 586 this.ucSplitLine_V9.Dock = System.Windows.Forms.DockStyle.Right; 587 this.ucSplitLine_V9.Location = new System.Drawing.Point(96, 0); 588 this.ucSplitLine_V9.Name = "ucSplitLine_V9"; 589 this.ucSplitLine_V9.Size = new System.Drawing.Size(1, 88); 590 this.ucSplitLine_V9.TabIndex = 0; 591 this.ucSplitLine_V9.TabStop = false; 592 // 593 // panel8 594 // 595 this.panel8.Controls.Add(this.label8); 596 this.panel8.Controls.Add(this.ucSplitLine_H8); 597 this.panel8.Controls.Add(this.ucSplitLine_V8); 598 this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; 599 this.panel8.Location = new System.Drawing.Point(97, 176); 600 this.panel8.Margin = new System.Windows.Forms.Padding(0); 601 this.panel8.Name = "panel8"; 602 this.panel8.Size = new System.Drawing.Size(97, 88); 603 this.panel8.TabIndex = 8; 604 // 605 // label8 606 // 607 this.label8.BackColor = System.Drawing.Color.White; 608 this.label8.Dock = System.Windows.Forms.DockStyle.Fill; 609 this.label8.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 610 this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 611 this.label8.Location = new System.Drawing.Point(0, 0); 612 this.label8.Name = "label8"; 613 this.label8.Size = new System.Drawing.Size(96, 87); 614 this.label8.TabIndex = 2; 615 this.label8.Tag = "8"; 616 this.label8.Text = "8"; 617 this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 618 this.label8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 619 // 620 // ucSplitLine_H8 621 // 622 this.ucSplitLine_H8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 623 this.ucSplitLine_H8.Dock = System.Windows.Forms.DockStyle.Bottom; 624 this.ucSplitLine_H8.Location = new System.Drawing.Point(0, 87); 625 this.ucSplitLine_H8.Name = "ucSplitLine_H8"; 626 this.ucSplitLine_H8.Size = new System.Drawing.Size(96, 1); 627 this.ucSplitLine_H8.TabIndex = 1; 628 this.ucSplitLine_H8.TabStop = false; 629 // 630 // ucSplitLine_V8 631 // 632 this.ucSplitLine_V8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 633 this.ucSplitLine_V8.Dock = System.Windows.Forms.DockStyle.Right; 634 this.ucSplitLine_V8.Location = new System.Drawing.Point(96, 0); 635 this.ucSplitLine_V8.Name = "ucSplitLine_V8"; 636 this.ucSplitLine_V8.Size = new System.Drawing.Size(1, 88); 637 this.ucSplitLine_V8.TabIndex = 0; 638 this.ucSplitLine_V8.TabStop = false; 639 // 640 // panel7 641 // 642 this.panel7.Controls.Add(this.label7); 643 this.panel7.Controls.Add(this.ucSplitLine_H7); 644 this.panel7.Controls.Add(this.ucSplitLine_V7); 645 this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; 646 this.panel7.Location = new System.Drawing.Point(0, 176); 647 this.panel7.Margin = new System.Windows.Forms.Padding(0); 648 this.panel7.Name = "panel7"; 649 this.panel7.Size = new System.Drawing.Size(97, 88); 650 this.panel7.TabIndex = 7; 651 // 652 // label7 653 // 654 this.label7.BackColor = System.Drawing.Color.White; 655 this.label7.Dock = System.Windows.Forms.DockStyle.Fill; 656 this.label7.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 657 this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 658 this.label7.Location = new System.Drawing.Point(0, 0); 659 this.label7.Name = "label7"; 660 this.label7.Size = new System.Drawing.Size(96, 87); 661 this.label7.TabIndex = 2; 662 this.label7.Tag = "7"; 663 this.label7.Text = "7"; 664 this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 665 this.label7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 666 // 667 // ucSplitLine_H7 668 // 669 this.ucSplitLine_H7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 670 this.ucSplitLine_H7.Dock = System.Windows.Forms.DockStyle.Bottom; 671 this.ucSplitLine_H7.Location = new System.Drawing.Point(0, 87); 672 this.ucSplitLine_H7.Name = "ucSplitLine_H7"; 673 this.ucSplitLine_H7.Size = new System.Drawing.Size(96, 1); 674 this.ucSplitLine_H7.TabIndex = 1; 675 this.ucSplitLine_H7.TabStop = false; 676 // 677 // ucSplitLine_V7 678 // 679 this.ucSplitLine_V7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 680 this.ucSplitLine_V7.Dock = System.Windows.Forms.DockStyle.Right; 681 this.ucSplitLine_V7.Location = new System.Drawing.Point(96, 0); 682 this.ucSplitLine_V7.Name = "ucSplitLine_V7"; 683 this.ucSplitLine_V7.Size = new System.Drawing.Size(1, 88); 684 this.ucSplitLine_V7.TabIndex = 0; 685 this.ucSplitLine_V7.TabStop = false; 686 // 687 // panel6 688 // 689 this.panel6.Controls.Add(this.label6); 690 this.panel6.Controls.Add(this.ucSplitLine_H6); 691 this.panel6.Controls.Add(this.ucSplitLine_V6); 692 this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; 693 this.panel6.Location = new System.Drawing.Point(194, 88); 694 this.panel6.Margin = new System.Windows.Forms.Padding(0); 695 this.panel6.Name = "panel6"; 696 this.panel6.Size = new System.Drawing.Size(97, 88); 697 this.panel6.TabIndex = 6; 698 // 699 // label6 700 // 701 this.label6.BackColor = System.Drawing.Color.White; 702 this.label6.Dock = System.Windows.Forms.DockStyle.Fill; 703 this.label6.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 704 this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 705 this.label6.Location = new System.Drawing.Point(0, 0); 706 this.label6.Name = "label6"; 707 this.label6.Size = new System.Drawing.Size(96, 87); 708 this.label6.TabIndex = 2; 709 this.label6.Tag = "6"; 710 this.label6.Text = "6"; 711 this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 712 this.label6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 713 // 714 // ucSplitLine_H6 715 // 716 this.ucSplitLine_H6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 717 this.ucSplitLine_H6.Dock = System.Windows.Forms.DockStyle.Bottom; 718 this.ucSplitLine_H6.Location = new System.Drawing.Point(0, 87); 719 this.ucSplitLine_H6.Name = "ucSplitLine_H6"; 720 this.ucSplitLine_H6.Size = new System.Drawing.Size(96, 1); 721 this.ucSplitLine_H6.TabIndex = 1; 722 this.ucSplitLine_H6.TabStop = false; 723 // 724 // ucSplitLine_V6 725 // 726 this.ucSplitLine_V6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 727 this.ucSplitLine_V6.Dock = System.Windows.Forms.DockStyle.Right; 728 this.ucSplitLine_V6.Location = new System.Drawing.Point(96, 0); 729 this.ucSplitLine_V6.Name = "ucSplitLine_V6"; 730 this.ucSplitLine_V6.Size = new System.Drawing.Size(1, 88); 731 this.ucSplitLine_V6.TabIndex = 0; 732 this.ucSplitLine_V6.TabStop = false; 733 // 734 // panel5 735 // 736 this.panel5.Controls.Add(this.label5); 737 this.panel5.Controls.Add(this.ucSplitLine_H5); 738 this.panel5.Controls.Add(this.ucSplitLine_V5); 739 this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; 740 this.panel5.Location = new System.Drawing.Point(97, 88); 741 this.panel5.Margin = new System.Windows.Forms.Padding(0); 742 this.panel5.Name = "panel5"; 743 this.panel5.Size = new System.Drawing.Size(97, 88); 744 this.panel5.TabIndex = 5; 745 // 746 // label5 747 // 748 this.label5.BackColor = System.Drawing.Color.White; 749 this.label5.Dock = System.Windows.Forms.DockStyle.Fill; 750 this.label5.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 751 this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 752 this.label5.Location = new System.Drawing.Point(0, 0); 753 this.label5.Name = "label5"; 754 this.label5.Size = new System.Drawing.Size(96, 87); 755 this.label5.TabIndex = 2; 756 this.label5.Tag = "5"; 757 this.label5.Text = "5"; 758 this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 759 this.label5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 760 // 761 // ucSplitLine_H5 762 // 763 this.ucSplitLine_H5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 764 this.ucSplitLine_H5.Dock = System.Windows.Forms.DockStyle.Bottom; 765 this.ucSplitLine_H5.Location = new System.Drawing.Point(0, 87); 766 this.ucSplitLine_H5.Name = "ucSplitLine_H5"; 767 this.ucSplitLine_H5.Size = new System.Drawing.Size(96, 1); 768 this.ucSplitLine_H5.TabIndex = 1; 769 this.ucSplitLine_H5.TabStop = false; 770 // 771 // ucSplitLine_V5 772 // 773 this.ucSplitLine_V5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 774 this.ucSplitLine_V5.Dock = System.Windows.Forms.DockStyle.Right; 775 this.ucSplitLine_V5.Location = new System.Drawing.Point(96, 0); 776 this.ucSplitLine_V5.Name = "ucSplitLine_V5"; 777 this.ucSplitLine_V5.Size = new System.Drawing.Size(1, 88); 778 this.ucSplitLine_V5.TabIndex = 0; 779 this.ucSplitLine_V5.TabStop = false; 780 // 781 // panel4 782 // 783 this.panel4.Controls.Add(this.label4); 784 this.panel4.Controls.Add(this.ucSplitLine_H4); 785 this.panel4.Controls.Add(this.ucSplitLine_V4); 786 this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; 787 this.panel4.Location = new System.Drawing.Point(0, 88); 788 this.panel4.Margin = new System.Windows.Forms.Padding(0); 789 this.panel4.Name = "panel4"; 790 this.panel4.Size = new System.Drawing.Size(97, 88); 791 this.panel4.TabIndex = 4; 792 // 793 // label4 794 // 795 this.label4.BackColor = System.Drawing.Color.White; 796 this.label4.Dock = System.Windows.Forms.DockStyle.Fill; 797 this.label4.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 798 this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 799 this.label4.Location = new System.Drawing.Point(0, 0); 800 this.label4.Name = "label4"; 801 this.label4.Size = new System.Drawing.Size(96, 87); 802 this.label4.TabIndex = 2; 803 this.label4.Tag = "4"; 804 this.label4.Text = "4"; 805 this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 806 this.label4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 807 // 808 // ucSplitLine_H4 809 // 810 this.ucSplitLine_H4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 811 this.ucSplitLine_H4.Dock = System.Windows.Forms.DockStyle.Bottom; 812 this.ucSplitLine_H4.Location = new System.Drawing.Point(0, 87); 813 this.ucSplitLine_H4.Name = "ucSplitLine_H4"; 814 this.ucSplitLine_H4.Size = new System.Drawing.Size(96, 1); 815 this.ucSplitLine_H4.TabIndex = 1; 816 this.ucSplitLine_H4.TabStop = false; 817 // 818 // ucSplitLine_V4 819 // 820 this.ucSplitLine_V4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 821 this.ucSplitLine_V4.Dock = System.Windows.Forms.DockStyle.Right; 822 this.ucSplitLine_V4.Location = new System.Drawing.Point(96, 0); 823 this.ucSplitLine_V4.Name = "ucSplitLine_V4"; 824 this.ucSplitLine_V4.Size = new System.Drawing.Size(1, 88); 825 this.ucSplitLine_V4.TabIndex = 0; 826 this.ucSplitLine_V4.TabStop = false; 827 // 828 // panel3 829 // 830 this.panel3.Controls.Add(this.label3); 831 this.panel3.Controls.Add(this.ucSplitLine_H3); 832 this.panel3.Controls.Add(this.ucSplitLine_V3); 833 this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; 834 this.panel3.Location = new System.Drawing.Point(194, 0); 835 this.panel3.Margin = new System.Windows.Forms.Padding(0); 836 this.panel3.Name = "panel3"; 837 this.panel3.Size = new System.Drawing.Size(97, 88); 838 this.panel3.TabIndex = 3; 839 // 840 // label3 841 // 842 this.label3.BackColor = System.Drawing.Color.White; 843 this.label3.Dock = System.Windows.Forms.DockStyle.Fill; 844 this.label3.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 845 this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 846 this.label3.Location = new System.Drawing.Point(0, 0); 847 this.label3.Name = "label3"; 848 this.label3.Size = new System.Drawing.Size(96, 87); 849 this.label3.TabIndex = 2; 850 this.label3.Tag = "3"; 851 this.label3.Text = "3"; 852 this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 853 this.label3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 854 // 855 // ucSplitLine_H3 856 // 857 this.ucSplitLine_H3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 858 this.ucSplitLine_H3.Dock = System.Windows.Forms.DockStyle.Bottom; 859 this.ucSplitLine_H3.Location = new System.Drawing.Point(0, 87); 860 this.ucSplitLine_H3.Name = "ucSplitLine_H3"; 861 this.ucSplitLine_H3.Size = new System.Drawing.Size(96, 1); 862 this.ucSplitLine_H3.TabIndex = 1; 863 this.ucSplitLine_H3.TabStop = false; 864 // 865 // ucSplitLine_V3 866 // 867 this.ucSplitLine_V3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 868 this.ucSplitLine_V3.Dock = System.Windows.Forms.DockStyle.Right; 869 this.ucSplitLine_V3.Location = new System.Drawing.Point(96, 0); 870 this.ucSplitLine_V3.Name = "ucSplitLine_V3"; 871 this.ucSplitLine_V3.Size = new System.Drawing.Size(1, 88); 872 this.ucSplitLine_V3.TabIndex = 0; 873 this.ucSplitLine_V3.TabStop = false; 874 // 875 // panel2 876 // 877 this.panel2.Controls.Add(this.label2); 878 this.panel2.Controls.Add(this.ucSplitLine_H2); 879 this.panel2.Controls.Add(this.ucSplitLine_V2); 880 this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; 881 this.panel2.Location = new System.Drawing.Point(97, 0); 882 this.panel2.Margin = new System.Windows.Forms.Padding(0); 883 this.panel2.Name = "panel2"; 884 this.panel2.Size = new System.Drawing.Size(97, 88); 885 this.panel2.TabIndex = 2; 886 // 887 // label2 888 // 889 this.label2.BackColor = System.Drawing.Color.White; 890 this.label2.Dock = System.Windows.Forms.DockStyle.Fill; 891 this.label2.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 892 this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 893 this.label2.Location = new System.Drawing.Point(0, 0); 894 this.label2.Name = "label2"; 895 this.label2.Size = new System.Drawing.Size(96, 87); 896 this.label2.TabIndex = 2; 897 this.label2.Tag = "2"; 898 this.label2.Text = "2"; 899 this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 900 this.label2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 901 // 902 // ucSplitLine_H2 903 // 904 this.ucSplitLine_H2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 905 this.ucSplitLine_H2.Dock = System.Windows.Forms.DockStyle.Bottom; 906 this.ucSplitLine_H2.Location = new System.Drawing.Point(0, 87); 907 this.ucSplitLine_H2.Name = "ucSplitLine_H2"; 908 this.ucSplitLine_H2.Size = new System.Drawing.Size(96, 1); 909 this.ucSplitLine_H2.TabIndex = 1; 910 this.ucSplitLine_H2.TabStop = false; 911 // 912 // ucSplitLine_V2 913 // 914 this.ucSplitLine_V2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 915 this.ucSplitLine_V2.Dock = System.Windows.Forms.DockStyle.Right; 916 this.ucSplitLine_V2.Location = new System.Drawing.Point(96, 0); 917 this.ucSplitLine_V2.Name = "ucSplitLine_V2"; 918 this.ucSplitLine_V2.Size = new System.Drawing.Size(1, 88); 919 this.ucSplitLine_V2.TabIndex = 0; 920 this.ucSplitLine_V2.TabStop = false; 921 // 922 // panel1 923 // 924 this.panel1.Controls.Add(this.label1); 925 this.panel1.Controls.Add(this.ucSplitLine_H1); 926 this.panel1.Controls.Add(this.ucSplitLine_V1); 927 this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; 928 this.panel1.Location = new System.Drawing.Point(0, 0); 929 this.panel1.Margin = new System.Windows.Forms.Padding(0); 930 this.panel1.Name = "panel1"; 931 this.panel1.Size = new System.Drawing.Size(97, 88); 932 this.panel1.TabIndex = 1; 933 // 934 // label1 935 // 936 this.label1.BackColor = System.Drawing.Color.White; 937 this.label1.Dock = System.Windows.Forms.DockStyle.Fill; 938 this.label1.Font = new System.Drawing.Font("Arial Unicode MS", 30F); 939 this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(102)))), ((int)(((byte)(102))))); 940 this.label1.Location = new System.Drawing.Point(0, 0); 941 this.label1.Name = "label1"; 942 this.label1.Size = new System.Drawing.Size(96, 87); 943 this.label1.TabIndex = 2; 944 this.label1.Tag = "1"; 945 this.label1.Text = "1"; 946 this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 947 this.label1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Num_MouseDown); 948 // 949 // ucSplitLine_H1 950 // 951 this.ucSplitLine_H1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 952 this.ucSplitLine_H1.Dock = System.Windows.Forms.DockStyle.Bottom; 953 this.ucSplitLine_H1.Location = new System.Drawing.Point(0, 87); 954 this.ucSplitLine_H1.Name = "ucSplitLine_H1"; 955 this.ucSplitLine_H1.Size = new System.Drawing.Size(96, 1); 956 this.ucSplitLine_H1.TabIndex = 1; 957 this.ucSplitLine_H1.TabStop = false; 958 // 959 // ucSplitLine_V1 960 // 961 this.ucSplitLine_V1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 962 this.ucSplitLine_V1.Dock = System.Windows.Forms.DockStyle.Right; 963 this.ucSplitLine_V1.Location = new System.Drawing.Point(96, 0); 964 this.ucSplitLine_V1.Name = "ucSplitLine_V1"; 965 this.ucSplitLine_V1.Size = new System.Drawing.Size(1, 88); 966 this.ucSplitLine_V1.TabIndex = 0; 967 this.ucSplitLine_V1.TabStop = false; 968 // 969 // ucSplitLine_H11 970 // 971 this.ucSplitLine_H11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 972 this.ucSplitLine_H11.Dock = System.Windows.Forms.DockStyle.Bottom; 973 this.ucSplitLine_H11.Location = new System.Drawing.Point(1, 351); 974 this.ucSplitLine_H11.Name = "ucSplitLine_H11"; 975 this.ucSplitLine_H11.Size = new System.Drawing.Size(487, 1); 976 this.ucSplitLine_H11.TabIndex = 5; 977 this.ucSplitLine_H11.TabStop = false; 978 // 979 // ucSplitLine_H10 980 // 981 this.ucSplitLine_H10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 982 this.ucSplitLine_H10.Dock = System.Windows.Forms.DockStyle.Top; 983 this.ucSplitLine_H10.Location = new System.Drawing.Point(1, 0); 984 this.ucSplitLine_H10.Name = "ucSplitLine_H10"; 985 this.ucSplitLine_H10.Size = new System.Drawing.Size(487, 1); 986 this.ucSplitLine_H10.TabIndex = 3; 987 this.ucSplitLine_H10.TabStop = false; 988 // 989 // ucSplitLine_V16 990 // 991 this.ucSplitLine_V16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 992 this.ucSplitLine_V16.Dock = System.Windows.Forms.DockStyle.Right; 993 this.ucSplitLine_V16.Location = new System.Drawing.Point(488, 0); 994 this.ucSplitLine_V16.Name = "ucSplitLine_V16"; 995 this.ucSplitLine_V16.Size = new System.Drawing.Size(1, 352); 996 this.ucSplitLine_V16.TabIndex = 4; 997 this.ucSplitLine_V16.TabStop = false; 998 // 999 // ucSplitLine_V14 1000 // 1001 this.ucSplitLine_V14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); 1002 this.ucSplitLine_V14.Dock = System.Windows.Forms.DockStyle.Left; 1003 this.ucSplitLine_V14.Location = new System.Drawing.Point(0, 0); 1004 this.ucSplitLine_V14.Name = "ucSplitLine_V14"; 1005 this.ucSplitLine_V14.Size = new System.Drawing.Size(1, 352); 1006 this.ucSplitLine_V14.TabIndex = 3; 1007 this.ucSplitLine_V14.TabStop = false; 1008 // 1009 // UCKeyBorderPay 1010 // 1011 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; 1012 this.BackColor = System.Drawing.Color.Transparent; 1013 this.Controls.Add(this.ucSplitLine_H11); 1014 this.Controls.Add(this.ucSplitLine_H10); 1015 this.Controls.Add(this.ucSplitLine_V16); 1016 this.Controls.Add(this.ucSplitLine_V14); 1017 this.Controls.Add(this.tableLayoutPanel1); 1018 this.Name = "UCKeyBorderPay"; 1019 this.Size = new System.Drawing.Size(489, 352); 1020 this.tableLayoutPanel1.ResumeLayout(false); 1021 this.panel19.ResumeLayout(false); 1022 this.panel18.ResumeLayout(false); 1023 this.panel17.ResumeLayout(false); 1024 this.panel16.ResumeLayout(false); 1025 this.panel15.ResumeLayout(false); 1026 this.panel14.ResumeLayout(false); 1027 this.panel13.ResumeLayout(false); 1028 this.panel12.ResumeLayout(false); 1029 this.panel11.ResumeLayout(false); 1030 this.panel10.ResumeLayout(false); 1031 this.panel9.ResumeLayout(false); 1032 this.panel8.ResumeLayout(false); 1033 this.panel7.ResumeLayout(false); 1034 this.panel6.ResumeLayout(false); 1035 this.panel5.ResumeLayout(false); 1036 this.panel4.ResumeLayout(false); 1037 this.panel3.ResumeLayout(false); 1038 this.panel2.ResumeLayout(false); 1039 this.panel1.ResumeLayout(false); 1040 this.ResumeLayout(false); 1041 1042 } 1043 1044 #endregion 1045 1046 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; 1047 private System.Windows.Forms.Panel panel19; 1048 private System.Windows.Forms.Label lblFast4; 1049 private UCSplitLine_V ucSplitLine_V19; 1050 private System.Windows.Forms.Panel panel18; 1051 private System.Windows.Forms.Label label18; 1052 private System.Windows.Forms.Panel panel17; 1053 private System.Windows.Forms.Label lblFast3; 1054 private UCSplitLine_H ucSplitLine_H17; 1055 private UCSplitLine_V ucSplitLine_V17; 1056 private System.Windows.Forms.Panel panel16; 1057 private System.Windows.Forms.Label label16; 1058 private UCSplitLine_H ucSplitLine_H16; 1059 private System.Windows.Forms.Panel panel15; 1060 private System.Windows.Forms.Label lblFast2; 1061 private UCSplitLine_H ucSplitLine_H15; 1062 private UCSplitLine_V ucSplitLine_V15; 1063 private System.Windows.Forms.Panel panel14; 1064 private System.Windows.Forms.Label label14; 1065 private UCSplitLine_H ucSplitLine_H14; 1066 private System.Windows.Forms.Panel panel13; 1067 private System.Windows.Forms.Label lblFast1; 1068 private UCSplitLine_H ucSplitLine_H13; 1069 private UCSplitLine_V ucSplitLine_V13; 1070 private System.Windows.Forms.Panel panel12; 1071 private System.Windows.Forms.Label label12; 1072 private UCSplitLine_V ucSplitLine_V12; 1073 private System.Windows.Forms.Panel panel11; 1074 private System.Windows.Forms.Label label11; 1075 private UCSplitLine_V ucSplitLine_V11; 1076 private System.Windows.Forms.Panel panel10; 1077 private System.Windows.Forms.Label label10; 1078 private UCSplitLine_V ucSplitLine_V10; 1079 private System.Windows.Forms.Panel panel9; 1080 private System.Windows.Forms.Label label9; 1081 private UCSplitLine_H ucSplitLine_H9; 1082 private UCSplitLine_V ucSplitLine_V9; 1083 private System.Windows.Forms.Panel panel8; 1084 private System.Windows.Forms.Label label8; 1085 private UCSplitLine_H ucSplitLine_H8; 1086 private UCSplitLine_V ucSplitLine_V8; 1087 private System.Windows.Forms.Panel panel7; 1088 private System.Windows.Forms.Label label7; 1089 private UCSplitLine_H ucSplitLine_H7; 1090 private UCSplitLine_V ucSplitLine_V7; 1091 private System.Windows.Forms.Panel panel6; 1092 private System.Windows.Forms.Label label6; 1093 private UCSplitLine_H ucSplitLine_H6; 1094 private UCSplitLine_V ucSplitLine_V6; 1095 private System.Windows.Forms.Panel panel5; 1096 private System.Windows.Forms.Label label5; 1097 private UCSplitLine_H ucSplitLine_H5; 1098 private UCSplitLine_V ucSplitLine_V5; 1099 private System.Windows.Forms.Panel panel4; 1100 private System.Windows.Forms.Label label4; 1101 private UCSplitLine_H ucSplitLine_H4; 1102 private UCSplitLine_V ucSplitLine_V4; 1103 private System.Windows.Forms.Panel panel3; 1104 private System.Windows.Forms.Label label3; 1105 private UCSplitLine_H ucSplitLine_H3; 1106 private UCSplitLine_V ucSplitLine_V3; 1107 private System.Windows.Forms.Panel panel2; 1108 private System.Windows.Forms.Label label2; 1109 private UCSplitLine_H ucSplitLine_H2; 1110 private UCSplitLine_V ucSplitLine_V2; 1111 private System.Windows.Forms.Panel panel1; 1112 private System.Windows.Forms.Label label1; 1113 private UCSplitLine_H ucSplitLine_H1; 1114 private UCSplitLine_V ucSplitLine_V1; 1115 private UCSplitLine_V ucSplitLine_V14; 1116 private UCSplitLine_V ucSplitLine_V16; 1117 private UCSplitLine_H ucSplitLine_H10; 1118 private UCSplitLine_H ucSplitLine_H11; 1119 } 1120 }
设计效果
那4个空白的位置就是用来填充预估付款金额的
用处及效果
使用方法将在后面的文本框处详细介绍
最后的话
如果你喜欢的话,请到 https://gitee.com/kwwwvagaa/net_winform_custom_control 点个星 星吧