178 lines
6.8 KiB
C#
178 lines
6.8 KiB
C#
using System.Windows.Forms.VisualStyles;
|
|
|
|
namespace DeviceAdmin
|
|
{
|
|
partial class FormOwnership
|
|
{
|
|
/// <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();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
comboBoxStaff = new ComboBox();
|
|
comboBoxKit = new ComboBox();
|
|
((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(726, 482);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Font = new Font("Segoe UI", 14F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
|
buttonAdd.Location = new Point(736, 97);
|
|
buttonAdd.Margin = new Padding(5, 6, 5, 6);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(197, 70);
|
|
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(736, 315);
|
|
buttonEdit.Margin = new Padding(5, 6, 5, 6);
|
|
buttonEdit.Name = "buttonEdit";
|
|
buttonEdit.Size = new Size(197, 70);
|
|
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(736, 397);
|
|
buttonDelete.Margin = new Padding(5, 6, 5, 6);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(197, 70);
|
|
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(736, 15);
|
|
buttonRefresh.Margin = new Padding(5, 6, 5, 6);
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
buttonRefresh.Size = new Size(197, 70);
|
|
buttonRefresh.TabIndex = 2;
|
|
buttonRefresh.Text = "Обновить";
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
buttonRefresh.Click += ButtonRefresh_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(736, 173);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(97, 25);
|
|
label1.TabIndex = 11;
|
|
label1.Text = "Комлекты:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(736, 244);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(96, 25);
|
|
label2.TabIndex = 12;
|
|
label2.Text = "Персонал:";
|
|
//
|
|
// comboBoxStaff
|
|
//
|
|
comboBoxStaff.DisplayMember = "full_name";
|
|
comboBoxStaff.FormattingEnabled = true;
|
|
comboBoxStaff.Location = new Point(736, 273);
|
|
comboBoxStaff.Name = "comboBoxStaff";
|
|
comboBoxStaff.Size = new Size(197, 33);
|
|
comboBoxStaff.TabIndex = 17;
|
|
comboBoxStaff.ValueMember = "id";
|
|
//
|
|
// comboBoxKit
|
|
//
|
|
comboBoxKit.DisplayMember = "title";
|
|
comboBoxKit.FormattingEnabled = true;
|
|
comboBoxKit.Location = new Point(736, 201);
|
|
comboBoxKit.Name = "comboBoxKit";
|
|
comboBoxKit.Size = new Size(197, 33);
|
|
comboBoxKit.TabIndex = 16;
|
|
comboBoxKit.ValueMember = "id";
|
|
//
|
|
// FormOwnership
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(947, 482);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(buttonRefresh);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonEdit);
|
|
Controls.Add(buttonAdd);
|
|
Controls.Add(comboBoxStaff);
|
|
Controls.Add(comboBoxKit);
|
|
Controls.Add(dataGridView);
|
|
Margin = new Padding(5, 6, 5, 6);
|
|
Name = "FormOwnership";
|
|
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 roomTextBox;
|
|
private Label label1;
|
|
private Label label2;
|
|
private ComboBox comboBoxStaff;
|
|
private ComboBox comboBoxKit;
|
|
}
|
|
} |