175 lines
5.1 KiB
C#
175 lines
5.1 KiB
C#
using System.Windows.Forms;
|
|
|
|
namespace NewsBlogView
|
|
{
|
|
partial class FormAuthor
|
|
{
|
|
/// <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()
|
|
{
|
|
buttonDelete = new Button();
|
|
buttonUpdate = new Button();
|
|
buttonCreate = new Button();
|
|
textBoxPhone = new TextBox();
|
|
textBoxName = new TextBox();
|
|
dataGridView = new DataGridView();
|
|
textBoxDescription = new TextBox();
|
|
labelName = new Label();
|
|
labelDescription = new Label();
|
|
labelPhone = new Label();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(741, 292);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(128, 30);
|
|
buttonDelete.TabIndex = 28;
|
|
buttonDelete.Text = "Удалить";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += ButtonDelete_Click;
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(741, 256);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(128, 30);
|
|
buttonUpdate.TabIndex = 27;
|
|
buttonUpdate.Text = "Изменить";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += ButtonUpdate_Click;
|
|
//
|
|
// buttonCreate
|
|
//
|
|
buttonCreate.Location = new Point(741, 220);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(128, 30);
|
|
buttonCreate.TabIndex = 26;
|
|
buttonCreate.Text = "Добавить";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += ButtonCreate_Click;
|
|
//
|
|
// textBoxPhone
|
|
//
|
|
textBoxPhone.Location = new Point(703, 131);
|
|
textBoxPhone.Name = "textBoxPhone";
|
|
textBoxPhone.Size = new Size(201, 23);
|
|
textBoxPhone.TabIndex = 35;
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(704, 41);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(201, 23);
|
|
textBoxName.TabIndex = 21;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.BackgroundColor = SystemColors.Window;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Location = new Point(13, 14);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(610, 608);
|
|
dataGridView.TabIndex = 15;
|
|
dataGridView.CellClick += DataGridView_CellClick;
|
|
//
|
|
// textBoxDescription
|
|
//
|
|
textBoxDescription.Location = new Point(703, 84);
|
|
textBoxDescription.Name = "textBoxDescription";
|
|
textBoxDescription.Size = new Size(201, 23);
|
|
textBoxDescription.TabIndex = 32;
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(633, 44);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(40, 15);
|
|
labelName.TabIndex = 31;
|
|
labelName.Text = "ФИО: ";
|
|
//
|
|
// labelDescription
|
|
//
|
|
labelDescription.AutoSize = true;
|
|
labelDescription.Location = new Point(629, 87);
|
|
labelDescription.Name = "labelDescription";
|
|
labelDescription.Size = new Size(68, 15);
|
|
labelDescription.TabIndex = 42;
|
|
labelDescription.Text = "Описание: ";
|
|
//
|
|
// labelPhone
|
|
//
|
|
labelPhone.AutoSize = true;
|
|
labelPhone.Location = new Point(629, 134);
|
|
labelPhone.Name = "labelPhone";
|
|
labelPhone.Size = new Size(58, 15);
|
|
labelPhone.TabIndex = 44;
|
|
labelPhone.Text = "Телефон:";
|
|
//
|
|
// FormAuthor
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(990, 450);
|
|
Controls.Add(labelPhone);
|
|
Controls.Add(labelDescription);
|
|
Controls.Add(labelName);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonUpdate);
|
|
Controls.Add(buttonCreate);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(textBoxDescription);
|
|
Controls.Add(textBoxPhone);
|
|
Controls.Add(dataGridView);
|
|
Name = "FormAuthor";
|
|
Text = "Авторы";
|
|
Load += FormAuthor_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonCreate;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxDescription;
|
|
private TextBox textBoxPhone;
|
|
private DataGridView dataGridView;
|
|
private Label labelName;
|
|
private Label labelDescription;
|
|
private Label labelPhone;
|
|
}
|
|
} |