177 lines
5.2 KiB
C#
177 lines
5.2 KiB
C#
using System.Windows.Forms;
|
|
|
|
namespace NewsBlogView
|
|
{
|
|
partial class FormComment
|
|
{
|
|
/// <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();
|
|
textBoxTitle = new TextBox();
|
|
textBoxContent = new TextBox();
|
|
comboBoxArticle = new ComboBox();
|
|
dataGridView = new DataGridView();
|
|
labelTitle = new Label();
|
|
labelContent = new Label();
|
|
labelArticle = new Label();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(758, 247);
|
|
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(758, 211);
|
|
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(758, 175);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(128, 30);
|
|
buttonCreate.TabIndex = 26;
|
|
buttonCreate.Text = "Добавить";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += ButtonCreate_Click;
|
|
//
|
|
// textBoxTitle
|
|
//
|
|
textBoxTitle.Location = new Point(721, 41);
|
|
textBoxTitle.Name = "textBoxTitle";
|
|
textBoxTitle.Size = new Size(201, 23);
|
|
textBoxTitle.TabIndex = 21;
|
|
//
|
|
// textBoxContent
|
|
//
|
|
textBoxContent.Location = new Point(720, 84);
|
|
textBoxContent.Name = "textBoxContent";
|
|
textBoxContent.Size = new Size(201, 23);
|
|
textBoxContent.TabIndex = 32;
|
|
//
|
|
// comboBoxArticle
|
|
//
|
|
comboBoxArticle.FormattingEnabled = true;
|
|
comboBoxArticle.Location = new Point(720, 131);
|
|
comboBoxArticle.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxArticle.Name = "comboBoxArticle";
|
|
comboBoxArticle.Size = new Size(201, 23);
|
|
comboBoxArticle.TabIndex = 35;
|
|
//
|
|
// 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;
|
|
//
|
|
// 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(85, 15);
|
|
labelContent.TabIndex = 42;
|
|
labelContent.Text = "Содержимое: ";
|
|
//
|
|
// labelArticle
|
|
//
|
|
labelArticle.AutoSize = true;
|
|
labelArticle.Location = new Point(633, 134);
|
|
labelArticle.Name = "labelArticle";
|
|
labelArticle.Size = new Size(46, 15);
|
|
labelArticle.TabIndex = 44;
|
|
labelArticle.Text = "Статья:";
|
|
//
|
|
// FormComment
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(990, 450);
|
|
Controls.Add(labelArticle);
|
|
Controls.Add(labelContent);
|
|
Controls.Add(labelTitle);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonUpdate);
|
|
Controls.Add(buttonCreate);
|
|
Controls.Add(textBoxContent);
|
|
Controls.Add(textBoxTitle);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(comboBoxArticle);
|
|
Name = "FormComment";
|
|
Text = "Комментарии";
|
|
Load += FormComment_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 comboBoxArticle;
|
|
private DataGridView dataGridView;
|
|
private Label labelTitle;
|
|
private Label labelContent;
|
|
private Label labelArticle;
|
|
}
|
|
} |