namespace Lab3Form { partial class FormFormats { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { dataGridView = new DataGridView(); NameCol = new DataGridViewTextBoxColumn(); Id = new DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); SuspendLayout(); // // dataGridView // dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridView.Columns.AddRange(new DataGridViewColumn[] { NameCol, Id }); dataGridView.Location = new Point(0, 0); dataGridView.Name = "dataGridView"; dataGridView.RowHeadersWidth = 47; dataGridView.Size = new Size(800, 356); dataGridView.TabIndex = 0; dataGridView.CellValueChanged += dataGridView_CellValueChanged; dataGridView.UserDeletingRow += dataGridView_UserDeletingRow; dataGridView.KeyUp += dataGridView_KeyUp; // // NameCol // NameCol.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; NameCol.HeaderText = "Название товара"; NameCol.MinimumWidth = 6; NameCol.Name = "NameCol"; // // Id // Id.HeaderText = "Id"; Id.MinimumWidth = 6; Id.Name = "Id"; Id.Visible = false; Id.Width = 125; // // Formcitys // AutoScaleDimensions = new SizeF(8F, 19F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 356); Controls.Add(dataGridView); Name = "Formcitys"; Text = "Выбранные товары"; Load += Formcitys_Load; ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ResumeLayout(false); } #endregion private DataGridView dataGridView; private DataGridViewTextBoxColumn NameCol; private DataGridViewTextBoxColumn Id; } }