namespace ProjectLibrary.Forms { partial class FLibrary { private System.ComponentModel.IContainer components = null; private Label lblName; private TextBox txtName; private Label lblAddress; private TextBox txtAddress; private Button ButtonSave; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { lblName = new Label(); txtName = new TextBox(); lblAddress = new Label(); txtAddress = new TextBox(); ButtonSave = new Button(); buttonCancel_Click = new Button(); dataGridView = new DataGridView(); Book = new DataGridViewComboBoxColumn(); Count = new DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); SuspendLayout(); // // lblName // lblName.AutoSize = true; lblName.Location = new Point(20, 9); lblName.Name = "lblName"; lblName.Size = new Size(62, 15); lblName.TabIndex = 2; lblName.Text = "Название:"; // // txtName // txtName.Location = new Point(100, 12); txtName.Name = "txtName"; txtName.Size = new Size(200, 23); txtName.TabIndex = 3; // // lblAddress // lblAddress.AutoSize = true; lblAddress.Location = new Point(20, 49); lblAddress.Name = "lblAddress"; lblAddress.Size = new Size(43, 15); lblAddress.TabIndex = 4; lblAddress.Text = "Адрес:"; // // txtAddress // txtAddress.Location = new Point(100, 49); txtAddress.Name = "txtAddress"; txtAddress.Size = new Size(200, 23); txtAddress.TabIndex = 5; // // ButtonSave // ButtonSave.Location = new Point(20, 224); ButtonSave.Name = "ButtonSave"; ButtonSave.Size = new Size(100, 27); ButtonSave.TabIndex = 14; ButtonSave.Text = "Сохранить"; ButtonSave.Click += ButtonSave_Click; // // buttonCancel_Click // buttonCancel_Click.Location = new Point(200, 222); buttonCancel_Click.Name = "buttonCancel_Click"; buttonCancel_Click.Size = new Size(100, 30); buttonCancel_Click.TabIndex = 10; buttonCancel_Click.Text = "Отмена"; buttonCancel_Click.Click += buttonCancel_Click_Click; // // dataGridView // dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridView.Columns.AddRange(new DataGridViewColumn[] { Book, Count }); dataGridView.Location = new Point(20, 93); dataGridView.Name = "dataGridView"; dataGridView.RowHeadersWidth = 51; dataGridView.Size = new Size(280, 123); dataGridView.TabIndex = 13; // // Book // Book.HeaderText = "Book"; Book.MinimumWidth = 6; Book.Name = "Book"; Book.SortMode = DataGridViewColumnSortMode.Automatic; Book.Width = 125; // // Count // Count.HeaderText = "Count"; Count.MinimumWidth = 6; Count.Name = "Count"; Count.Width = 125; // // FLibrary // ClientSize = new Size(400, 436); Controls.Add(dataGridView); Controls.Add(buttonCancel_Click); Controls.Add(lblName); Controls.Add(txtName); Controls.Add(lblAddress); Controls.Add(txtAddress); Controls.Add(ButtonSave); Name = "FLibrary"; Text = "Библиотека"; ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ResumeLayout(false); PerformLayout(); } private Button buttonCancel_Click; private DataGridView dataGridView; private DataGridViewComboBoxColumn Book; private DataGridViewTextBoxColumn Count; } }