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

ASP.NET
一个无刷新效果定时自动更新页面的例子
ASP.NET2.0的控件状态和视图状态探讨
用好ASP.NET 2.0的URL映射
详解:如何在.NET中访问MySQL数据库?
如何实现Asp与Asp.Net共享Session
利用.net的强大功能发送email
.NET中加密与解密QueryString的方法
Asp.net生成htm静态文件的两种途径
C#定时器的使用
从XML文件中读取数据绑定到DropDownList
ASP.NET 2.0 里输出文本格式流
用.net动态创建类的实例
.Net下的MSMQ的同步异步调用
ASP.NET 2.0实现防止同一用户同时登陆
asp.NET自定义服务器控件内部细节
组合.NET数据控件构建强大用户接口
用ASP.NET 2.0 FormView控件控制显示
菜鸟也学习ASP.NET如何读取数据库内容
教你简单方便获取Web设计的免费资源
专家详解:复杂表达式的执行步骤

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


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