212 lines
8.5 KiB
C#
212 lines
8.5 KiB
C#
namespace DeviceAdmin
|
|
{
|
|
partial class FormServices
|
|
{
|
|
/// <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();
|
|
comboBoxDevice = new ComboBox();
|
|
dateTimePickerStartDate = new DateTimePicker();
|
|
dateTimePickerEndDate = new DateTimePicker();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
richTextBoxDescription = new RichTextBox();
|
|
label3 = new Label();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).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.RowHeadersWidth = 62;
|
|
dataGridView.Size = new Size(643, 582);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Font = new Font("Segoe UI", 14F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
|
buttonAdd.Location = new Point(653, 72);
|
|
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(653, 465);
|
|
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(653, 522);
|
|
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(653, 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;
|
|
//
|
|
// comboBoxDevice
|
|
//
|
|
comboBoxDevice.DisplayMember = "device";
|
|
comboBoxDevice.FormattingEnabled = true;
|
|
comboBoxDevice.Location = new Point(653, 417);
|
|
comboBoxDevice.Name = "comboBoxDevice";
|
|
comboBoxDevice.Size = new Size(197, 33);
|
|
comboBoxDevice.TabIndex = 16;
|
|
comboBoxDevice.ValueMember = "id";
|
|
//
|
|
// dateTimePickerStartDate
|
|
//
|
|
dateTimePickerStartDate.CustomFormat = "dd-MM-yyyy";
|
|
dateTimePickerStartDate.Format = DateTimePickerFormat.Custom;
|
|
dateTimePickerStartDate.Location = new Point(653, 293);
|
|
dateTimePickerStartDate.Name = "dateTimePickerStartDate";
|
|
dateTimePickerStartDate.Size = new Size(197, 31);
|
|
dateTimePickerStartDate.TabIndex = 13;
|
|
dateTimePickerStartDate.Value = new DateTime(2024, 5, 21, 0, 0, 0, 0);
|
|
//
|
|
// dateTimePickerEndDate
|
|
//
|
|
dateTimePickerEndDate.CustomFormat = "dd-MM-yyyy";
|
|
dateTimePickerEndDate.Format = DateTimePickerFormat.Custom;
|
|
dateTimePickerEndDate.Location = new Point(653, 355);
|
|
dateTimePickerEndDate.Name = "dateTimePickerEndDate";
|
|
dateTimePickerEndDate.Size = new Size(197, 31);
|
|
dateTimePickerEndDate.TabIndex = 13;
|
|
dateTimePickerEndDate.Value = new DateTime(2024, 5, 21, 0, 0, 0, 0);
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(653, 327);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(108, 25);
|
|
label1.TabIndex = 11;
|
|
label1.Text = "Дата конца:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(653, 265);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(114, 25);
|
|
label2.TabIndex = 12;
|
|
label2.Text = "Дата начала:";
|
|
//
|
|
// richTextBoxDescription
|
|
//
|
|
richTextBoxDescription.Location = new Point(653, 126);
|
|
richTextBoxDescription.Name = "richTextBoxDescription";
|
|
richTextBoxDescription.Size = new Size(197, 127);
|
|
richTextBoxDescription.TabIndex = 17;
|
|
richTextBoxDescription.Text = "";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(653, 389);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(109, 25);
|
|
label3.TabIndex = 18;
|
|
label3.Text = "Устройство:";
|
|
//
|
|
// FormServices
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(864, 582);
|
|
Controls.Add(label3);
|
|
Controls.Add(richTextBoxDescription);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(buttonRefresh);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonEdit);
|
|
Controls.Add(buttonAdd);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(comboBoxDevice);
|
|
Controls.Add(dateTimePickerStartDate);
|
|
Controls.Add(dateTimePickerEndDate);
|
|
Margin = new Padding(5, 6, 5, 6);
|
|
Name = "FormServices";
|
|
Text = "Обслуживание";
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView dataGridView;
|
|
private Button buttonAdd;
|
|
private Button buttonEdit;
|
|
private Button buttonDelete;
|
|
private Button buttonRefresh;
|
|
private TextBox textBoxRoom;
|
|
private Label label1;
|
|
private Label label2;
|
|
private ComboBox comboBoxDevice;
|
|
private DateTimePicker dateTimePickerStartDate;
|
|
private DateTimePicker dateTimePickerEndDate;
|
|
private RichTextBox richTextBoxDescription;
|
|
private Label label3;
|
|
}
|
|
} |