2024-10-04 00:04:22 +04:00
|
|
|
|
namespace Components
|
2024-10-03 23:07:05 +04:00
|
|
|
|
{
|
|
|
|
|
partial class UserControlIntegerInput
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
textBoxInteger = new TextBox();
|
|
|
|
|
checkBoxNullable = new CheckBox();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// textBoxInteger
|
|
|
|
|
//
|
|
|
|
|
textBoxInteger.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
textBoxInteger.Location = new Point(24, 1);
|
|
|
|
|
textBoxInteger.Name = "textBoxInteger";
|
|
|
|
|
textBoxInteger.Size = new Size(144, 23);
|
|
|
|
|
textBoxInteger.TabIndex = 0;
|
|
|
|
|
textBoxInteger.TextChanged += textBoxInteger_TextChanged;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxNullable
|
|
|
|
|
//
|
|
|
|
|
checkBoxNullable.AutoSize = true;
|
|
|
|
|
checkBoxNullable.Location = new Point(3, 5);
|
|
|
|
|
checkBoxNullable.Name = "checkBoxNullable";
|
|
|
|
|
checkBoxNullable.Size = new Size(15, 14);
|
|
|
|
|
checkBoxNullable.TabIndex = 1;
|
|
|
|
|
checkBoxNullable.UseVisualStyleBackColor = true;
|
|
|
|
|
checkBoxNullable.CheckedChanged += checkBoxNullable_CheckedChanged;
|
|
|
|
|
//
|
|
|
|
|
// UserControlIntegerInput
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
Controls.Add(checkBoxNullable);
|
|
|
|
|
Controls.Add(textBoxInteger);
|
|
|
|
|
Name = "UserControlIntegerInput";
|
|
|
|
|
Size = new Size(171, 30);
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private TextBox textBoxInteger;
|
|
|
|
|
private CheckBox checkBoxNullable;
|
|
|
|
|
}
|
|
|
|
|
}
|