201 lines
6.0 KiB
C#
201 lines
6.0 KiB
C#
using System.Windows.Forms;
|
|
|
|
namespace NewsBlogView
|
|
{
|
|
partial class FormArticle
|
|
{
|
|
/// <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();
|
|
comboBoxAuthor = new ComboBox();
|
|
comboBoxCategory = new ComboBox();
|
|
textBoxTitle = new TextBox();
|
|
dataGridView = new DataGridView();
|
|
textBoxContent = new TextBox();
|
|
labelTitle = new Label();
|
|
labelContent = new Label();
|
|
labelAuthor = new Label();
|
|
labelCategory = new Label();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(755, 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(755, 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(755, 220);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(128, 30);
|
|
buttonCreate.TabIndex = 26;
|
|
buttonCreate.Text = "Добавить";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += ButtonCreate_Click;
|
|
//
|
|
// comboBoxAuthor
|
|
//
|
|
comboBoxAuthor.FormattingEnabled = true;
|
|
comboBoxAuthor.Location = new Point(718, 129);
|
|
comboBoxAuthor.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxAuthor.Name = "comboBoxAuthor";
|
|
comboBoxAuthor.Size = new Size(201, 23);
|
|
comboBoxAuthor.TabIndex = 35;
|
|
//
|
|
// comboBoxCategory
|
|
//
|
|
comboBoxCategory.FormattingEnabled = true;
|
|
comboBoxCategory.Location = new Point(717, 174);
|
|
comboBoxCategory.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxCategory.Name = "comboBoxCategory";
|
|
comboBoxCategory.Size = new Size(201, 23);
|
|
comboBoxCategory.TabIndex = 35;
|
|
//
|
|
// textBoxTitle
|
|
//
|
|
textBoxTitle.Location = new Point(717, 41);
|
|
textBoxTitle.Name = "textBoxTitle";
|
|
textBoxTitle.Size = new Size(201, 23);
|
|
textBoxTitle.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;
|
|
//
|
|
// textBoxContent
|
|
//
|
|
textBoxContent.Location = new Point(717, 84);
|
|
textBoxContent.Name = "textBoxContent";
|
|
textBoxContent.Size = new Size(201, 23);
|
|
textBoxContent.TabIndex = 32;
|
|
//
|
|
// labelTitle
|
|
//
|
|
labelTitle.AutoSize = true;
|
|
labelTitle.Location = new Point(633, 44);
|
|
labelTitle.Name = "labelTitle";
|
|
labelTitle.Size = new Size(71, 15);
|
|
labelTitle.TabIndex = 31;
|
|
labelTitle.Text = "Заголовок: ";
|
|
//
|
|
// labelContent
|
|
//
|
|
labelContent.AutoSize = true;
|
|
labelContent.Location = new Point(629, 87);
|
|
labelContent.Name = "labelContent";
|
|
labelContent.Size = new Size(82, 15);
|
|
labelContent.TabIndex = 42;
|
|
labelContent.Text = "Содержимое:";
|
|
//
|
|
// labelAuthor
|
|
//
|
|
labelAuthor.AutoSize = true;
|
|
labelAuthor.Location = new Point(630, 132);
|
|
labelAuthor.Name = "labelAuthor";
|
|
labelAuthor.Size = new Size(43, 15);
|
|
labelAuthor.TabIndex = 44;
|
|
labelAuthor.Text = "Автор:";
|
|
//
|
|
// labelCategory
|
|
//
|
|
labelCategory.AutoSize = true;
|
|
labelCategory.Location = new Point(629, 177);
|
|
labelCategory.Name = "labelCategory";
|
|
labelCategory.Size = new Size(66, 15);
|
|
labelCategory.TabIndex = 44;
|
|
labelCategory.Text = "Категория:";
|
|
//
|
|
// FormArticle
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(990, 450);
|
|
Controls.Add(labelAuthor);
|
|
Controls.Add(labelContent);
|
|
Controls.Add(labelTitle);
|
|
Controls.Add(labelCategory);
|
|
Controls.Add(textBoxContent);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonUpdate);
|
|
Controls.Add(buttonCreate);
|
|
Controls.Add(textBoxTitle);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(comboBoxAuthor);
|
|
Controls.Add(comboBoxCategory);
|
|
Name = "FormArticle";
|
|
Text = "Статьи";
|
|
Load += FormArticle_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonCreate;
|
|
private TextBox textBoxTitle;
|
|
private TextBox textBoxContent;
|
|
private ComboBox comboBoxAuthor;
|
|
private ComboBox comboBoxCategory;
|
|
private DataGridView dataGridView;
|
|
private Label labelTitle;
|
|
private Label labelContent;
|
|
private Label labelAuthor;
|
|
private Label labelCategory;
|
|
}
|
|
} |