From 8c5bd65be77b2dbc9b64c110aa9735fefed98b74 Mon Sep 17 00:00:00 2001 From: bekodeg Date: Mon, 6 May 2024 21:58:30 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SushiBar/SushiBar/Forms/FormReportOrders.Designer.cs | 8 +++++--- .../SushiBar/Forms/FormReportSushiComponents.Designer.cs | 2 ++ SushiBar/SushiBar/Forms/FormReportSushiComponents.resx | 9 --------- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/SushiBar/SushiBar/Forms/FormReportOrders.Designer.cs b/SushiBar/SushiBar/Forms/FormReportOrders.Designer.cs index a2bf192..0f8e56b 100644 --- a/SushiBar/SushiBar/Forms/FormReportOrders.Designer.cs +++ b/SushiBar/SushiBar/Forms/FormReportOrders.Designer.cs @@ -41,13 +41,13 @@ // // panel // + panel.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; panel.Controls.Add(label2); panel.Controls.Add(label1); panel.Controls.Add(dateTimePickerTo); panel.Controls.Add(dateTimePickerFrom); panel.Controls.Add(buttonToPdf); panel.Controls.Add(buttonMake); - panel.Dock = DockStyle.Top; panel.Location = new Point(0, 0); panel.Name = "panel"; panel.Size = new Size(1242, 51); @@ -107,9 +107,11 @@ // // panelBody // - panelBody.Location = new Point(0, 57); + panelBody.AllowDrop = true; + panelBody.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + panelBody.Location = new Point(12, 57); panelBody.Name = "panelBody"; - panelBody.Size = new Size(1242, 515); + panelBody.Size = new Size(1218, 506); panelBody.TabIndex = 1; // // FormReportOrders diff --git a/SushiBar/SushiBar/Forms/FormReportSushiComponents.Designer.cs b/SushiBar/SushiBar/Forms/FormReportSushiComponents.Designer.cs index ed3b55e..23a38f1 100644 --- a/SushiBar/SushiBar/Forms/FormReportSushiComponents.Designer.cs +++ b/SushiBar/SushiBar/Forms/FormReportSushiComponents.Designer.cs @@ -48,6 +48,7 @@ // // dataGridView // + dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; dataGridView.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText; dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridView.Columns.AddRange(new DataGridViewColumn[] { Component, Sushi, Count }); @@ -83,6 +84,7 @@ // // FormReportSushiComponents // + AllowDrop = true; AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(909, 457); diff --git a/SushiBar/SushiBar/Forms/FormReportSushiComponents.resx b/SushiBar/SushiBar/Forms/FormReportSushiComponents.resx index 4086d67..2a73aa9 100644 --- a/SushiBar/SushiBar/Forms/FormReportSushiComponents.resx +++ b/SushiBar/SushiBar/Forms/FormReportSushiComponents.resx @@ -126,13 +126,4 @@ True - - True - - - True - - - True - \ No newline at end of file