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

ASP.NET
漫谈.Net开发关于命名空间和目录划分
.net中关于企业Excel报表的生成
.NET中取得IP/用户名等信息常用方法
关于.Net开发下的分布式缓存设计
.NET中为组合框添加自动查询功能
ASP.NET如何进行性能优化问题
开发中如何有效监控.NET应用程序
ASP.NET2.0 显示写入日期和时间语法
用.NET Array类的Sort方法分类数值
Asp.net Mvc Pv4中使用AjaxHelper
Asp.net中Forms验证的角色验证授权(一)
Asp.net中Forms验证的角色验证授权(二)
Asp.Net2.0数据库基本操作方法学习
Asp.Net之枚举类型输出需要类型转换
用.NET的File控件上传文件的解决方案
.NET泛型技巧之类型参数之间的转换
在ASP.NET中将数据直接输出成Excel格式
在.NET框架下使用自定义配置设置
跟ASP.NET MVC一起使用jQuery
Visual Basic中文本框处理技巧集萃

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 137 ::
收藏到网摘: 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