81 lines
4.1 KiB
C#
81 lines
4.1 KiB
C#
|
namespace HL_FristAidPlatform_Public
|
|||
|
{
|
|||
|
partial class TimeControl
|
|||
|
{
|
|||
|
/// <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.dateEdit = new DevExpress.XtraEditors.DateEdit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dateEdit.Properties.CalendarTimeProperties)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dateEdit.Properties)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// dateEdit
|
|||
|
//
|
|||
|
this.dateEdit.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.dateEdit.EditValue = null;
|
|||
|
this.dateEdit.EnterMoveNextControl = true;
|
|||
|
this.dateEdit.Location = new System.Drawing.Point(0, 0);
|
|||
|
this.dateEdit.Name = "dateEdit";
|
|||
|
this.dateEdit.Properties.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(31)))), ((int)(((byte)(53)))));
|
|||
|
this.dateEdit.Properties.Appearance.Options.UseForeColor = true;
|
|||
|
this.dateEdit.Properties.AutoHeight = false;
|
|||
|
this.dateEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|||
|
this.dateEdit.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|||
|
this.dateEdit.Properties.CalendarTimeProperties.Mask.EditMask = "yyyy-MM-dd HH:mm";
|
|||
|
this.dateEdit.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm";
|
|||
|
this.dateEdit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|||
|
this.dateEdit.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm";
|
|||
|
this.dateEdit.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|||
|
this.dateEdit.Properties.Mask.EditMask = "yyyy-MM-dd HH:mm";
|
|||
|
this.dateEdit.Size = new System.Drawing.Size(140, 20);
|
|||
|
this.dateEdit.TabIndex = 1;
|
|||
|
this.dateEdit.Closed += new DevExpress.XtraEditors.Controls.ClosedEventHandler(this.DateEdit_Closed);
|
|||
|
this.dateEdit.EditValueChanged += new System.EventHandler(this.dateEdit_EditValueChanged);
|
|||
|
this.dateEdit.Click += new System.EventHandler(this.DateEdit_Click);
|
|||
|
//
|
|||
|
// TimeControl
|
|||
|
//
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|||
|
this.BackColor = System.Drawing.Color.Transparent;
|
|||
|
this.Controls.Add(this.dateEdit);
|
|||
|
this.Name = "TimeControl";
|
|||
|
this.Size = new System.Drawing.Size(140, 20);
|
|||
|
this.Load += new System.EventHandler(this.TimeControl_Load);
|
|||
|
this.ForeColorChanged += new System.EventHandler(this.TimeControl_ForeColorChanged);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dateEdit.Properties.CalendarTimeProperties)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dateEdit.Properties)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
private DevExpress.XtraEditors.DateEdit dateEdit;
|
|||
|
}
|
|||
|
}
|