277 lines
11 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Data;
using System.Windows.Forms;
namespace DeviceAdmin
{
partial class FormDevices
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
dataGridView = new DataGridView();
buttonAdd = new Button();
buttonEdit = new Button();
buttonDelete = new Button();
buttonRefresh = new Button();
textBoxModel = new TextBox();
label1 = new Label();
label2 = new Label();
dateTimePickerProductionDate = new DateTimePicker();
numericUpDownWarrantyPeriod = new NumericUpDown();
checkBoxCondition = new CheckBox();
comboBoxKind = new ComboBox();
numericUpDownKit = new NumericUpDown();
textBoxSerialNumber = new TextBox();
label3 = new Label();
label4 = new Label();
label5 = new Label();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDownWarrantyPeriod).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDownKit).BeginInit();
SuspendLayout();
//
// dataGridView
//
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Dock = DockStyle.Left;
dataGridView.Location = new Point(0, 0);
dataGridView.Margin = new Padding(5, 6, 5, 6);
dataGridView.Name = "dataGridView";
dataGridView.ReadOnly = true;
dataGridView.RowHeadersWidth = 62;
dataGridView.Size = new Size(900, 613);
dataGridView.TabIndex = 0;
//
// buttonAdd
//
buttonAdd.Font = new Font("Segoe UI", 14F, FontStyle.Regular, GraphicsUnit.Point, 204);
buttonAdd.Location = new Point(910, 73);
buttonAdd.Margin = new Padding(5, 6, 5, 6);
buttonAdd.Name = "buttonAdd";
buttonAdd.Size = new Size(197, 45);
buttonAdd.TabIndex = 5;
buttonAdd.Text = "Добавить";
buttonAdd.UseVisualStyleBackColor = true;
buttonAdd.Click += ButtonAdd_Click;
//
// buttonEdit
//
buttonEdit.Font = new Font("Segoe UI", 14F, FontStyle.Regular, GraphicsUnit.Point, 204);
buttonEdit.Location = new Point(910, 500);
buttonEdit.Margin = new Padding(5, 6, 5, 6);
buttonEdit.Name = "buttonEdit";
buttonEdit.Size = new Size(197, 45);
buttonEdit.TabIndex = 4;
buttonEdit.Text = "Изменить";
buttonEdit.UseVisualStyleBackColor = true;
buttonEdit.Click += ButtonEdit_Click;
//
// buttonDelete
//
buttonDelete.Font = new Font("Segoe UI", 14F, FontStyle.Regular, GraphicsUnit.Point, 204);
buttonDelete.Location = new Point(910, 557);
buttonDelete.Margin = new Padding(5, 6, 5, 6);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(197, 45);
buttonDelete.TabIndex = 3;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
buttonDelete.Click += ButtonDelete_Click;
//
// buttonRefresh
//
buttonRefresh.Font = new Font("Segoe UI", 14F, FontStyle.Regular, GraphicsUnit.Point, 204);
buttonRefresh.Location = new Point(910, 15);
buttonRefresh.Margin = new Padding(5, 6, 5, 6);
buttonRefresh.Name = "buttonRefresh";
buttonRefresh.Size = new Size(197, 45);
buttonRefresh.TabIndex = 2;
buttonRefresh.Text = "Обновить";
buttonRefresh.UseVisualStyleBackColor = true;
buttonRefresh.Click += ButtonRefresh_Click;
//
// textBoxModel
//
textBoxModel.Location = new Point(910, 152);
textBoxModel.Margin = new Padding(5, 6, 5, 6);
textBoxModel.Name = "textBoxModel";
textBoxModel.Size = new Size(197, 31);
textBoxModel.TabIndex = 1;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(910, 123);
label1.Name = "label1";
label1.Size = new Size(80, 25);
label1.TabIndex = 11;
label1.Text = "Модель:";
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(910, 228);
label2.Name = "label2";
label2.Size = new Size(110, 25);
label2.TabIndex = 12;
label2.Text = "Сер. номер:";
//
// dateTimePickerProductionDate
//
dateTimePickerProductionDate.CustomFormat = "dd-MM-yyyy";
dateTimePickerProductionDate.Format = DateTimePickerFormat.Custom;
dateTimePickerProductionDate.Location = new Point(910, 318);
dateTimePickerProductionDate.Name = "dateTimePickerProductionDate";
dateTimePickerProductionDate.Size = new Size(197, 31);
dateTimePickerProductionDate.TabIndex = 13;
dateTimePickerProductionDate.Value = new DateTime(2024, 5, 21, 0, 0, 0, 0);
//
// numericUpDownWarrantyPeriod
//
numericUpDownWarrantyPeriod.Location = new Point(1026, 355);
numericUpDownWarrantyPeriod.Maximum = new decimal(new int[] { 999999, 0, 0, 0 });
numericUpDownWarrantyPeriod.Name = "numericUpDownWarrantyPeriod";
numericUpDownWarrantyPeriod.Size = new Size(81, 31);
numericUpDownWarrantyPeriod.TabIndex = 14;
//
// checkBoxCondition
//
checkBoxCondition.AutoSize = true;
checkBoxCondition.CheckAlign = ContentAlignment.MiddleRight;
checkBoxCondition.Location = new Point(909, 396);
checkBoxCondition.Name = "checkBoxCondition";
checkBoxCondition.RightToLeft = RightToLeft.No;
checkBoxCondition.Size = new Size(118, 29);
checkBoxCondition.TabIndex = 15;
checkBoxCondition.Text = "Работает?";
checkBoxCondition.UseVisualStyleBackColor = true;
//
// comboBoxKind
//
comboBoxKind.DisplayMember = "title";
comboBoxKind.FormattingEnabled = true;
comboBoxKind.Location = new Point(910, 192);
comboBoxKind.Name = "comboBoxKind";
comboBoxKind.Size = new Size(197, 33);
comboBoxKind.TabIndex = 16;
comboBoxKind.ValueMember = "id";
//
// numericUpDownKit
//
numericUpDownKit.Location = new Point(910, 460);
numericUpDownKit.Name = "numericUpDownKit";
numericUpDownKit.Size = new Size(197, 31);
numericUpDownKit.TabIndex = 17;
//
// textBoxSerialNumber
//
textBoxSerialNumber.Location = new Point(910, 256);
textBoxSerialNumber.Name = "textBoxSerialNumber";
textBoxSerialNumber.Size = new Size(197, 31);
textBoxSerialNumber.TabIndex = 18;
//
// label3
//
label3.AutoSize = true;
label3.Location = new Point(910, 432);
label3.Name = "label3";
label3.Size = new Size(125, 25);
label3.TabIndex = 19;
label3.Text = "ID комплекта:";
//
// label4
//
label4.AutoSize = true;
label4.Location = new Point(910, 357);
label4.Name = "label4";
label4.Size = new Size(89, 25);
label4.TabIndex = 20;
label4.Text = "Гарантия:";
//
// label5
//
label5.AutoSize = true;
label5.Location = new Point(910, 289);
label5.Name = "label5";
label5.Size = new Size(169, 25);
label5.TabIndex = 21;
label5.Text = "Дата изготовления:";
//
// FormDevices
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1121, 613);
Controls.Add(label5);
Controls.Add(label4);
Controls.Add(label3);
Controls.Add(textBoxSerialNumber);
Controls.Add(numericUpDownKit);
Controls.Add(comboBoxKind);
Controls.Add(checkBoxCondition);
Controls.Add(numericUpDownWarrantyPeriod);
Controls.Add(dateTimePickerProductionDate);
Controls.Add(label2);
Controls.Add(label1);
Controls.Add(textBoxModel);
Controls.Add(buttonRefresh);
Controls.Add(buttonDelete);
Controls.Add(buttonEdit);
Controls.Add(buttonAdd);
Controls.Add(dataGridView);
Margin = new Padding(5, 6, 5, 6);
Name = "FormDevices";
Text = "Устройства";
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDownWarrantyPeriod).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDownKit).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private DataGridView dataGridView;
private Button buttonAdd;
private Button buttonEdit;
private Button buttonDelete;
private Button buttonRefresh;
private TextBox roomTextBox;
private TextBox textBoxModel;
private Label label1;
private Label label2;
private DateTimePicker dateTimePickerProductionDate;
private NumericUpDown numericUpDownWarrantyPeriod;
private CheckBox checkBoxCondition;
private ComboBox comboBoxKind;
private NumericUpDown numericUpDownKit;
private TextBox textBoxSerialNumber;
private Label label3;
private Label label4;
private Label label5;
}
}