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