ПИбд-22 Боровков М В 1 лабораторная работа #1

Closed
bekodeg wants to merge 22 commits from labWork1 into main
5 changed files with 8 additions and 5 deletions
Showing only changes of commit b3ea0977f0 - Show all commits

View File

@ -44,6 +44,7 @@
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 29;
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dataGridView.Size = new Size(668, 408);
dataGridView.TabIndex = 0;
//
@ -99,7 +100,7 @@
Controls.Add(dataGridView);
Name = "FormComponents";
Text = "Компоненты";
Load += this.FormComponents_Load;
Load += FormComponents_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
}

View File

@ -49,6 +49,7 @@
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 29;
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dataGridView.Size = new Size(980, 407);
dataGridView.TabIndex = 0;
//
@ -148,7 +149,7 @@
MainMenuStrip = menuStrip1;
Name = "FormMain";
Text = "Сушибар";
Load += this.FormMain_Load;
Load += FormMain_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
menuStrip1.ResumeLayout(false);
menuStrip1.PerformLayout();

View File

@ -29,7 +29,6 @@ namespace SushiBar.Forms
if (list != null)
{
dataGridView.DataSource = list;
dataGridView.Columns["Id"].Visible = false;
dataGridView.Columns["SushiId"].Visible = false;
dataGridView.Columns["SushiName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
}

View File

@ -71,6 +71,7 @@
dataGridView.ReadOnly = true;
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 25;
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dataGridView.Size = new Size(630, 267);
dataGridView.TabIndex = 1;
//
@ -220,7 +221,7 @@
Controls.Add(groupBox1);
Name = "FormSushi";
Text = "Суши";
Load += this.FormSushi_Load;
Load += FormSushi_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
groupBox1.ResumeLayout(false);
ResumeLayout(false);

View File

@ -45,6 +45,7 @@
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 70;
dataGridView.RowTemplate.Height = 29;
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dataGridView.Size = new Size(762, 450);
dataGridView.TabIndex = 1;
//
@ -100,7 +101,7 @@
Controls.Add(dataGridView);
Name = "FormSushis";
Text = "Суши";
Load += this.FormSushis_Load;
Load += FormSushis_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
}