2024-09-04 16:40:39 +04:00
|
|
|
|
namespace WinFormsLibraryVolkov
|
|
|
|
|
{
|
|
|
|
|
partial class CustomInputRangeDate
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Обязательная переменная конструктора.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Освободить все используемые ресурсы.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Код, автоматически созданный конструктором компонентов
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
dateTimePicker = new DateTimePicker();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dateTimePicker
|
|
|
|
|
//
|
|
|
|
|
dateTimePicker.Location = new Point(3, 3);
|
|
|
|
|
dateTimePicker.Name = "dateTimePicker";
|
2024-09-04 17:42:18 +04:00
|
|
|
|
dateTimePicker.Size = new Size(142, 23);
|
2024-09-04 16:40:39 +04:00
|
|
|
|
dateTimePicker.TabIndex = 0;
|
|
|
|
|
dateTimePicker.ValueChanged += dateTimePicker_ValueChanged;
|
2024-09-04 20:00:33 +04:00
|
|
|
|
dateTimePicker.Enter += dateTimePicker_Enter;
|
|
|
|
|
dateTimePicker.MaxDate = new DateTime(2024, 12, 31, 0, 0, 0, 0);
|
|
|
|
|
dateTimePicker.MinDate = new DateTime(2004, 1, 11, 0, 0, 0, 0);
|
2024-09-04 16:40:39 +04:00
|
|
|
|
//
|
|
|
|
|
// CustomInputRangeDate
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
Controls.Add(dateTimePicker);
|
|
|
|
|
Name = "CustomInputRangeDate";
|
2024-09-04 17:42:18 +04:00
|
|
|
|
Size = new Size(148, 231);
|
2024-09-04 16:40:39 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DateTimePicker dateTimePicker;
|
|
|
|
|
}
|
|
|
|
|
}
|