From 6b640a91d78cde12eeb74174ddd223da2d9028a1 Mon Sep 17 00:00:00 2001 From: "annalyovushkina@yandex.ru" Date: Wed, 23 Oct 2024 15:05:38 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B5=D0=B1=D0=BE=D0=B9=D0=B9=D0=B9=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WinFormUchetLab/WinFormUchetLab/FormMain.Designer.cs | 6 +++--- WinFormUchetLab/WinFormUchetLab/FormMain.cs | 2 ++ WinFormUchetLab/WinFormUchetLab/WinFormUchetLab.csproj | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/WinFormUchetLab/WinFormUchetLab/FormMain.Designer.cs b/WinFormUchetLab/WinFormUchetLab/FormMain.Designer.cs index 16181ba..f57b1b7 100644 --- a/WinFormUchetLab/WinFormUchetLab/FormMain.Designer.cs +++ b/WinFormUchetLab/WinFormUchetLab/FormMain.Designer.cs @@ -46,15 +46,15 @@ // // controlDataTableRow1 // - controlDataTableRow1.Anchor = AnchorStyles.Left | AnchorStyles.Right; controlDataTableRow1.AutoSize = true; controlDataTableRow1.ContextMenuStrip = contextMenuStrip1; - controlDataTableRow1.Location = new Point(13, 65); + controlDataTableRow1.Dock = DockStyle.Fill; + controlDataTableRow1.Location = new Point(0, 0); controlDataTableRow1.Margin = new Padding(4, 5, 4, 5); controlDataTableRow1.Name = "controlDataTableRow1"; controlDataTableRow1.RightToLeft = RightToLeft.No; controlDataTableRow1.SelectedRowIndex = -1; - controlDataTableRow1.Size = new Size(774, 371); + controlDataTableRow1.Size = new Size(800, 450); controlDataTableRow1.TabIndex = 1; // // contextMenuStrip1 diff --git a/WinFormUchetLab/WinFormUchetLab/FormMain.cs b/WinFormUchetLab/WinFormUchetLab/FormMain.cs index 4d9c37f..8887db4 100644 --- a/WinFormUchetLab/WinFormUchetLab/FormMain.cs +++ b/WinFormUchetLab/WinFormUchetLab/FormMain.cs @@ -200,6 +200,8 @@ namespace WinFormUchetLab ColumnInfo col3 = new ColumnInfo("проверяющий", 6, "Checker"); ColumnInfo col4 = new ColumnInfo("дата приёма", 6.5, "CheckDate"); ColumnInfo colExam = new ColumnInfo("приём", new List { col3, col4 }); + header.Add(col1); + header.Add(col2); header.Add(colExam); try { diff --git a/WinFormUchetLab/WinFormUchetLab/WinFormUchetLab.csproj b/WinFormUchetLab/WinFormUchetLab/WinFormUchetLab.csproj index 3f75ab3..4e59619 100644 --- a/WinFormUchetLab/WinFormUchetLab/WinFormUchetLab.csproj +++ b/WinFormUchetLab/WinFormUchetLab/WinFormUchetLab.csproj @@ -16,7 +16,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +