70 lines
2.4 KiB
C#
70 lines
2.4 KiB
C#
|
|
namespace WinformDevFramework.UserControls
|
|||
|
|
{
|
|||
|
|
partial class Label_DateTime
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 必需的设计器变量。
|
|||
|
|
/// </summary>
|
|||
|
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 清理所有正在使用的资源。
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|||
|
|
protected override void Dispose(bool disposing)
|
|||
|
|
{
|
|||
|
|
if (disposing && (components != null))
|
|||
|
|
{
|
|||
|
|
components.Dispose();
|
|||
|
|
}
|
|||
|
|
base.Dispose(disposing);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#region 组件设计器生成的代码
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 设计器支持所需的方法 - 不要修改
|
|||
|
|
/// 使用代码编辑器修改此方法的内容。
|
|||
|
|
/// </summary>
|
|||
|
|
private void InitializeComponent()
|
|||
|
|
{
|
|||
|
|
this.label = new System.Windows.Forms.Label();
|
|||
|
|
this.dateTimePicker = new System.Windows.Forms.DateTimePicker();
|
|||
|
|
this.SuspendLayout();
|
|||
|
|
//
|
|||
|
|
// label
|
|||
|
|
//
|
|||
|
|
this.label.Location = new System.Drawing.Point(2, 5);
|
|||
|
|
this.label.Name = "label";
|
|||
|
|
this.label.Size = new System.Drawing.Size(75, 18);
|
|||
|
|
this.label.TabIndex = 2;
|
|||
|
|
this.label.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|||
|
|
//
|
|||
|
|
// dateTimePicker
|
|||
|
|
//
|
|||
|
|
this.dateTimePicker.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
|||
|
|
this.dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
|||
|
|
this.dateTimePicker.Location = new System.Drawing.Point(82, 3);
|
|||
|
|
this.dateTimePicker.Name = "dateTimePicker";
|
|||
|
|
this.dateTimePicker.Size = new System.Drawing.Size(200, 23);
|
|||
|
|
this.dateTimePicker.TabIndex = 3;
|
|||
|
|
//
|
|||
|
|
// Label_DateTime
|
|||
|
|
//
|
|||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
|
this.Controls.Add(this.dateTimePicker);
|
|||
|
|
this.Controls.Add(this.label);
|
|||
|
|
this.Name = "Label_DateTime";
|
|||
|
|
this.Size = new System.Drawing.Size(284, 28);
|
|||
|
|
this.ResumeLayout(false);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
private Label label;
|
|||
|
|
private DateTimePicker dateTimePicker;
|
|||
|
|
}
|
|||
|
|
}
|