当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > 可用来显示空值的时间选择控件4

ASP.NET
.Net中使用com组件后发生System.ArithmeticException异常的解决办法
SQL Server.net 和 OLE DB.net连接数据库的比较
后台更新DataTable行内容的方法
敏捷软件开发(原则,模式与实践)笔记1
确保文本框输入值为数值的代码
XML和数据库之间相互的映射
让你的.NET程序兼容不同版本的Dll文件。
.NET 的数据访问应用程序块(Data Access Application Block)
用控件仅一条指令实现界面换肤和多语言版本(YFSkins)
Microsoft User Interface Process Application Block 研究(3)
分享:处理Excel方法小结
基于ASP.NET实现全球化
.net 里面 protected private 的变量也可以访问(新发现)。
关于C#中{0}和{1}的问题初次在此发贴,问题对你易对我难,求救了
使用C#代码实现增加用户帐号
全世界都在关注-微软重大产品发布
教你做Rational Rose(UML Design)
OLE DB取得数据库的架构信息
VB 从零开始编外挂(三)
XPath序列之四

ASP.NET 中的 可用来显示空值的时间选择控件4


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 108 ::
收藏到网摘: n/a

#region 组件设计器生成的代码 /// /// 设计器支持所需的方法 - 不要使用代码编辑器 /// 修改此方法的内容。 /// private void InitializeComponent() { this.panel3 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.lbSpace = new System.Windows.Forms.Label(); this.lbSep3 = new System.Windows.Forms.Label(); this.tbDay = new System.Windows.Forms.TextBox(); this.lbSep2 = new System.Windows.Forms.Label(); this.tbMonth = new System.Windows.Forms.TextBox(); this.lbSep1 = new System.Windows.Forms.Label(); this.tbYear = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.btnMain = new System.Windows.Forms.Button(); this.UpDown = new System.Windows.Forms.VScrollBar(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel3 // this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel3.Controls.Add(this.panel1); this.panel3.Controls.Add(this.btnMain); this.panel3.Controls.Add(this.UpDown); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(104, 24); this.panel3.TabIndex = 210; // // panel1 // this.panel1.Controls.Add(this.panel2); this.panel1.Controls.Add(this.label2); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(84, 20); this.panel1.TabIndex = 212; // // panel2 // this.panel2.Controls.Add(this.lbSpace); this.panel2.Controls.Add(this.lbSep3); this.panel2.Controls.Add(this.tbDay); this.panel2.Controls.Add(this.lbSep2); this.panel2.Controls.Add(this.tbMonth); this.panel2.Controls.Add(this.lbSep1); this.panel2.Controls.Add(this.tbYear); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 2); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(84, 18); this.panel2.TabIndex = 207; // // lbSpace // this.lbSpace.BackColor = System.Drawing.SystemColors.Window; this.lbSpace.Dock = System.Windows.Forms.DockStyle.Fill; this.lbSpace.Location = new System.Drawing.Point(70, 0); this.lbSpace.Name = "lbSpace"; this.lbSpace.Size = new System.Drawing.Size(14, 18); this.lbSpace.TabIndex = 223; this.lbSpace.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.lbSpace.Click += new System.EventHandler(this.lbSpace_Click); this.lbSpace.EnabledChanged += new System.EventHandler(this.lbSep1_EnabledChanged); // // lbSep3 // this.lbSep3.AutoSize = true; this.lbSep3.BackColor = System.Drawing.SystemColors.Window; this.lbSep3.Dock = System.Windows.Forms.DockStyle.Left; this.lbSep3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbSep3.Location = new System.Drawing.Point(70, 0); this.lbSep3.Name = "lbSep3"; this.lbSep3.Size = new System.Drawing.Size(0, 17); this.lbSep3.TabIndex = 220; this.lbSep3.EnabledChanged += new System.EventHandler(this.lbSep1_EnabledChanged); // // tbDay // this.tbDay.AutoSize = false; this.tbDay.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tbDay.Dock = System.Windows.Forms.DockStyle.Left; this.tbDay.Location = new System.Drawing.Point(58, 0); this.tbDay.Name = "tbDay"; this.tbDay.Size = new System.Drawing.Size(12, 18); this.tbDay.TabIndex = 219; this.tbDay.Text = "12"; this.tbDay.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.tbDay.WordWrap = false; this.tbDay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbMonth_KeyDown); this.tbDay.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tbDay_KeyPress); // // lbSep2 // this.lbSep2.AutoSize = true; this.lbSep2.BackColor = System.Drawing.SystemColors.Window; this.lbSep2.Dock = System.Windows.Forms.DockStyle.Left; this.lbSep2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbSep2.Locati