180 lines
5.8 KiB
C#
180 lines
5.8 KiB
C#
|
namespace LibraryWinFormsApp
|
|||
|
{
|
|||
|
partial class FormBook
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
releaseDateField = new Library_var_4_lab_1.DateInputBox();
|
|||
|
nameField = new TextBox();
|
|||
|
coverLabel = new Label();
|
|||
|
nameLabel = new Label();
|
|||
|
releaseDateLabel = new Label();
|
|||
|
authorLabel = new Label();
|
|||
|
authorField = new YunusovComponentsLibrary.SelectedComponent();
|
|||
|
saveButton = new Button();
|
|||
|
pictureBox = new PictureBox();
|
|||
|
changeCoverButton = new Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// releaseDateField
|
|||
|
//
|
|||
|
releaseDateField.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
releaseDateField.Location = new Point(8, 67);
|
|||
|
releaseDateField.Margin = new Padding(3, 2, 3, 2);
|
|||
|
releaseDateField.Name = "releaseDateField";
|
|||
|
releaseDateField.Size = new Size(215, 61);
|
|||
|
releaseDateField.TabIndex = 0;
|
|||
|
//
|
|||
|
// nameField
|
|||
|
//
|
|||
|
nameField.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
nameField.Location = new Point(8, 24);
|
|||
|
nameField.Name = "nameField";
|
|||
|
nameField.Size = new Size(215, 23);
|
|||
|
nameField.TabIndex = 1;
|
|||
|
//
|
|||
|
// coverLabel
|
|||
|
//
|
|||
|
coverLabel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
coverLabel.AutoSize = true;
|
|||
|
coverLabel.Location = new Point(229, 4);
|
|||
|
coverLabel.Name = "coverLabel";
|
|||
|
coverLabel.Size = new Size(58, 15);
|
|||
|
coverLabel.TabIndex = 3;
|
|||
|
coverLabel.Text = "Обложка";
|
|||
|
//
|
|||
|
// nameLabel
|
|||
|
//
|
|||
|
nameLabel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
nameLabel.AutoSize = true;
|
|||
|
nameLabel.Location = new Point(8, 4);
|
|||
|
nameLabel.Name = "nameLabel";
|
|||
|
nameLabel.Size = new Size(59, 15);
|
|||
|
nameLabel.TabIndex = 4;
|
|||
|
nameLabel.Text = "Название";
|
|||
|
//
|
|||
|
// releaseDateLabel
|
|||
|
//
|
|||
|
releaseDateLabel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
releaseDateLabel.AutoSize = true;
|
|||
|
releaseDateLabel.Location = new Point(8, 50);
|
|||
|
releaseDateLabel.Name = "releaseDateLabel";
|
|||
|
releaseDateLabel.Size = new Size(79, 15);
|
|||
|
releaseDateLabel.TabIndex = 5;
|
|||
|
releaseDateLabel.Text = "Дата издания";
|
|||
|
//
|
|||
|
// authorLabel
|
|||
|
//
|
|||
|
authorLabel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
authorLabel.AutoSize = true;
|
|||
|
authorLabel.Location = new Point(8, 97);
|
|||
|
authorLabel.Name = "authorLabel";
|
|||
|
authorLabel.Size = new Size(40, 15);
|
|||
|
authorLabel.TabIndex = 6;
|
|||
|
authorLabel.Text = "Автор";
|
|||
|
//
|
|||
|
// authorField
|
|||
|
//
|
|||
|
authorField.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
authorField.Location = new Point(8, 114);
|
|||
|
authorField.Margin = new Padding(3, 2, 3, 2);
|
|||
|
authorField.Name = "authorField";
|
|||
|
authorField.SelectedItem = "";
|
|||
|
authorField.Size = new Size(215, 208);
|
|||
|
authorField.TabIndex = 7;
|
|||
|
//
|
|||
|
// saveButton
|
|||
|
//
|
|||
|
saveButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
saveButton.Location = new Point(8, 330);
|
|||
|
saveButton.Name = "saveButton";
|
|||
|
saveButton.Size = new Size(215, 30);
|
|||
|
saveButton.TabIndex = 8;
|
|||
|
saveButton.Text = "Сохранить";
|
|||
|
saveButton.UseVisualStyleBackColor = true;
|
|||
|
saveButton.Click += saveButton_Click;
|
|||
|
//
|
|||
|
// pictureBox
|
|||
|
//
|
|||
|
pictureBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
pictureBox.Location = new Point(229, 24);
|
|||
|
pictureBox.Name = "pictureBox";
|
|||
|
pictureBox.Size = new Size(400, 276);
|
|||
|
pictureBox.SizeMode = PictureBoxSizeMode.Zoom;
|
|||
|
pictureBox.TabIndex = 9;
|
|||
|
pictureBox.TabStop = false;
|
|||
|
//
|
|||
|
// changeCoverButton
|
|||
|
//
|
|||
|
changeCoverButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
changeCoverButton.Location = new Point(229, 330);
|
|||
|
changeCoverButton.Name = "changeCoverButton";
|
|||
|
changeCoverButton.Size = new Size(402, 30);
|
|||
|
changeCoverButton.TabIndex = 10;
|
|||
|
changeCoverButton.Text = "Изменить обложку";
|
|||
|
changeCoverButton.UseVisualStyleBackColor = true;
|
|||
|
changeCoverButton.Click += changeCoverButton_Click;
|
|||
|
//
|
|||
|
// FormBook
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(639, 364);
|
|||
|
Controls.Add(changeCoverButton);
|
|||
|
Controls.Add(pictureBox);
|
|||
|
Controls.Add(saveButton);
|
|||
|
Controls.Add(authorField);
|
|||
|
Controls.Add(authorLabel);
|
|||
|
Controls.Add(releaseDateLabel);
|
|||
|
Controls.Add(nameLabel);
|
|||
|
Controls.Add(coverLabel);
|
|||
|
Controls.Add(nameField);
|
|||
|
Controls.Add(releaseDateField);
|
|||
|
Name = "FormBook";
|
|||
|
Text = "Kнигa";
|
|||
|
FormClosing += FormBook_FormClosing;
|
|||
|
Load += FormBook_Load;
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Library_var_4_lab_1.DateInputBox releaseDateField;
|
|||
|
private TextBox nameField;
|
|||
|
private Label coverLabel;
|
|||
|
private Label nameLabel;
|
|||
|
private Label releaseDateLabel;
|
|||
|
private Label authorLabel;
|
|||
|
private YunusovComponentsLibrary.SelectedComponent authorField;
|
|||
|
private Button saveButton;
|
|||
|
private PictureBox pictureBox;
|
|||
|
private Button changeCoverButton;
|
|||
|
}
|
|||
|
}
|