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

ASP.NET
ASP.NET立即上手教程(13)
ASP.NET立即上手教程(14)
Repeater控件分页例子
从文本文件读取行信息
Asp.Net 2.0数据库基本操作方法学习
url传递中文的解决方案
如何实现无刷新的DropdownList联动效果
将非模态对话框显示为模态对话框
微软新版开发工具VS 2008 beta2功能定案
c#.net函数列表
.Net FW中无法正确显示中文问题
ASP.NET中的doPostBack脚本函数实例
教你在asp.net中动态变更CSS
一个功能齐全的DataGrid分页例子
在ASP.NET程序中创建唯一序号
asp.net 2.0中用GRIDVIEW插入新记录
ASP.Net中保护自定义的服务器控件
在ASP.NET中跨页面实现多选
转换DataSet到普通xml的新法
ASP.NET中用healthMonitor属性用法

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


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