an error occurred during local report processing(((

This commit is contained in:
Андрей Байгулов 2024-04-25 21:04:34 +04:00
parent 737778adc4
commit d4bc068717
2 changed files with 29 additions and 16 deletions

View File

@ -33,33 +33,37 @@
panel = new Panel(); panel = new Panel();
ButtonToPdf = new Button(); ButtonToPdf = new Button();
ButtonMake = new Button(); ButtonMake = new Button();
reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); labelFrom = new Label();
labelTo = new Label();
panel.SuspendLayout(); panel.SuspendLayout();
SuspendLayout(); SuspendLayout();
// //
// dateTimePickerFrom // dateTimePickerFrom
// //
dateTimePickerFrom.Location = new Point(58, 11); dateTimePickerFrom.Location = new Point(49, 15);
dateTimePickerFrom.Name = "dateTimePickerFrom"; dateTimePickerFrom.Name = "dateTimePickerFrom";
dateTimePickerFrom.Size = new Size(200, 23); dateTimePickerFrom.Size = new Size(200, 23);
dateTimePickerFrom.TabIndex = 0; dateTimePickerFrom.TabIndex = 0;
// //
// dateTimePickerTo // dateTimePickerTo
// //
dateTimePickerTo.Location = new Point(321, 11); dateTimePickerTo.Location = new Point(320, 15);
dateTimePickerTo.Name = "dateTimePickerTo"; dateTimePickerTo.Name = "dateTimePickerTo";
dateTimePickerTo.Size = new Size(200, 23); dateTimePickerTo.Size = new Size(200, 23);
dateTimePickerTo.TabIndex = 1; dateTimePickerTo.TabIndex = 1;
// //
// panel // panel
// //
panel.Controls.Add(labelTo);
panel.Controls.Add(labelFrom);
panel.Controls.Add(ButtonToPdf); panel.Controls.Add(ButtonToPdf);
panel.Controls.Add(ButtonMake); panel.Controls.Add(ButtonMake);
panel.Controls.Add(dateTimePickerTo); panel.Controls.Add(dateTimePickerTo);
panel.Controls.Add(dateTimePickerFrom); panel.Controls.Add(dateTimePickerFrom);
panel.Location = new Point(3, 3); panel.Dock = DockStyle.Top;
panel.Location = new Point(0, 0);
panel.Name = "panel"; panel.Name = "panel";
panel.Size = new Size(1191, 52); panel.Size = new Size(1197, 52);
panel.TabIndex = 2; panel.TabIndex = 2;
// //
// ButtonToPdf // ButtonToPdf
@ -74,7 +78,7 @@
// //
// ButtonMake // ButtonMake
// //
ButtonMake.Location = new Point(583, 10); ButtonMake.Location = new Point(571, 15);
ButtonMake.Name = "ButtonMake"; ButtonMake.Name = "ButtonMake";
ButtonMake.Size = new Size(149, 23); ButtonMake.Size = new Size(149, 23);
ButtonMake.TabIndex = 2; ButtonMake.TabIndex = 2;
@ -82,13 +86,23 @@
ButtonMake.UseVisualStyleBackColor = true; ButtonMake.UseVisualStyleBackColor = true;
ButtonMake.Click += ButtonMake_Click; ButtonMake.Click += ButtonMake_Click;
// //
// reportViewer1 // labelFrom
// //
reportViewer1.Location = new Point(0, 0); labelFrom.AutoSize = true;
reportViewer1.Name = "ReportViewer"; labelFrom.Location = new Point(27, 19);
reportViewer1.ServerReport.BearerToken = null; labelFrom.Name = "labelFrom";
reportViewer1.Size = new Size(396, 246); labelFrom.Size = new Size(15, 15);
reportViewer1.TabIndex = 0; labelFrom.TabIndex = 3;
labelFrom.Text = "С";
//
// labelTo
//
labelTo.AutoSize = true;
labelTo.Location = new Point(269, 19);
labelTo.Name = "labelTo";
labelTo.Size = new Size(21, 15);
labelTo.TabIndex = 3;
labelTo.Text = "по";
// //
// FormReportOrders // FormReportOrders
// //
@ -99,6 +113,7 @@
Name = "FormReportOrders"; Name = "FormReportOrders";
Text = "Заказы"; Text = "Заказы";
panel.ResumeLayout(false); panel.ResumeLayout(false);
panel.PerformLayout();
ResumeLayout(false); ResumeLayout(false);
} }
@ -109,6 +124,7 @@
private Panel panel; private Panel panel;
private Button ButtonToPdf; private Button ButtonToPdf;
private Button ButtonMake; private Button ButtonMake;
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1; private Label labelTo;
private Label labelFrom;
} }
} }

View File

@ -117,7 +117,4 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="reportViewer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>