2024-09-06 12:58:31 +04:00
|
|
|
|
namespace Components
|
|
|
|
|
{
|
|
|
|
|
partial class UserControlDatePicker
|
|
|
|
|
{
|
|
|
|
|
/// <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.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
dateTimePicker.Format = DateTimePickerFormat.Short;
|
2024-11-27 20:27:55 +04:00
|
|
|
|
dateTimePicker.Location = new Point(3, 4);
|
|
|
|
|
dateTimePicker.Margin = new Padding(3, 4, 3, 4);
|
2024-09-06 12:58:31 +04:00
|
|
|
|
dateTimePicker.Name = "dateTimePicker";
|
2024-11-27 20:27:55 +04:00
|
|
|
|
dateTimePicker.Size = new Size(120, 27);
|
2024-09-06 12:58:31 +04:00
|
|
|
|
dateTimePicker.TabIndex = 0;
|
2024-09-14 19:00:32 +04:00
|
|
|
|
dateTimePicker.ValueChanged += dateTimePicker_ValueChanged;
|
2024-09-06 12:58:31 +04:00
|
|
|
|
//
|
|
|
|
|
// UserControlDatePicker
|
|
|
|
|
//
|
2024-11-27 20:27:55 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
2024-09-06 12:58:31 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.Orange;
|
|
|
|
|
Controls.Add(dateTimePicker);
|
2024-11-27 20:27:55 +04:00
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
2024-09-06 12:58:31 +04:00
|
|
|
|
Name = "UserControlDatePicker";
|
2024-11-27 20:27:55 +04:00
|
|
|
|
Size = new Size(126, 36);
|
2024-09-06 12:58:31 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DateTimePicker dateTimePicker;
|
|
|
|
|
}
|
|
|
|
|
}
|