2024-09-20 08:45:39 +04:00
|
|
|
|
namespace WinFormsTest
|
|
|
|
|
{
|
|
|
|
|
partial class Form1
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-10-30 14:26:40 +04:00
|
|
|
|
components = new System.ComponentModel.Container();
|
2024-09-20 08:45:39 +04:00
|
|
|
|
customListBox = new Components.CustomListBox();
|
2024-10-03 21:07:20 +04:00
|
|
|
|
customTextBox = new Components.CustomTextBox();
|
|
|
|
|
customDataGridView1 = new Components.CustomDataGridView();
|
2024-10-30 14:26:40 +04:00
|
|
|
|
buttonCreateTable = new Button();
|
|
|
|
|
buttonCreateHeaderedTable = new Button();
|
|
|
|
|
buttonCreateHistogram = new Button();
|
|
|
|
|
tablepdf1 = new Components.NonVisual.TablePDF(components);
|
|
|
|
|
histogrampdf1 = new Components.NonVisual.HistogramPDF(components);
|
|
|
|
|
headeredTablepdf1 = new Components.NonVisual.HeaderedTablePDF(components);
|
2024-09-20 08:45:39 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// customListBox
|
|
|
|
|
//
|
|
|
|
|
customListBox.Location = new Point(41, 40);
|
|
|
|
|
customListBox.Name = "customListBox";
|
|
|
|
|
customListBox.SelectedItem = "";
|
|
|
|
|
customListBox.Size = new Size(150, 150);
|
|
|
|
|
customListBox.TabIndex = 0;
|
|
|
|
|
//
|
2024-10-03 21:07:20 +04:00
|
|
|
|
// customTextBox
|
|
|
|
|
//
|
|
|
|
|
customTextBox.Location = new Point(250, 40);
|
|
|
|
|
customTextBox.Name = "customTextBox";
|
|
|
|
|
customTextBox.Size = new Size(150, 150);
|
|
|
|
|
customTextBox.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// customDataGridView1
|
|
|
|
|
//
|
|
|
|
|
customDataGridView1.Location = new Point(470, 50);
|
|
|
|
|
customDataGridView1.Name = "customDataGridView1";
|
|
|
|
|
customDataGridView1.Size = new Size(449, 150);
|
|
|
|
|
customDataGridView1.TabIndex = 2;
|
|
|
|
|
//
|
2024-10-30 14:26:40 +04:00
|
|
|
|
// buttonCreateTable
|
|
|
|
|
//
|
|
|
|
|
buttonCreateTable.Location = new Point(41, 235);
|
|
|
|
|
buttonCreateTable.Name = "buttonCreateTable";
|
|
|
|
|
buttonCreateTable.Size = new Size(139, 44);
|
|
|
|
|
buttonCreateTable.TabIndex = 11;
|
|
|
|
|
buttonCreateTable.Text = "Документ с контекстом";
|
|
|
|
|
buttonCreateTable.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateTable.Click += GeneratePdfButton_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateHeaderedTable
|
|
|
|
|
//
|
|
|
|
|
buttonCreateHeaderedTable.Location = new Point(204, 231);
|
|
|
|
|
buttonCreateHeaderedTable.Name = "buttonCreateHeaderedTable";
|
|
|
|
|
buttonCreateHeaderedTable.Size = new Size(139, 53);
|
|
|
|
|
buttonCreateHeaderedTable.TabIndex = 12;
|
|
|
|
|
buttonCreateHeaderedTable.Text = "Документ с настраиваемой таблицей";
|
|
|
|
|
buttonCreateHeaderedTable.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateHeaderedTable.Click += btnGeneratePDF_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateHistogram
|
|
|
|
|
//
|
|
|
|
|
buttonCreateHistogram.Location = new Point(362, 235);
|
|
|
|
|
buttonCreateHistogram.Name = "buttonCreateHistogram";
|
|
|
|
|
buttonCreateHistogram.Size = new Size(139, 44);
|
|
|
|
|
buttonCreateHistogram.TabIndex = 13;
|
|
|
|
|
buttonCreateHistogram.Text = "Документ с диаграммой";
|
|
|
|
|
buttonCreateHistogram.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateHistogram.Click += btnGenerateHistogrammPdf_Click;
|
|
|
|
|
//
|
2024-09-20 08:45:39 +04:00
|
|
|
|
// Form1
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-10-30 14:26:40 +04:00
|
|
|
|
ClientSize = new Size(934, 296);
|
2024-10-03 21:07:20 +04:00
|
|
|
|
Controls.Add(customDataGridView1);
|
|
|
|
|
Controls.Add(customTextBox);
|
2024-09-20 08:45:39 +04:00
|
|
|
|
Controls.Add(customListBox);
|
2024-10-30 14:26:40 +04:00
|
|
|
|
Controls.Add(buttonCreateTable);
|
|
|
|
|
Controls.Add(buttonCreateHeaderedTable);
|
|
|
|
|
Controls.Add(buttonCreateHistogram);
|
2024-09-20 08:45:39 +04:00
|
|
|
|
Name = "Form1";
|
|
|
|
|
Text = "Form1";
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Components.CustomListBox customListBox;
|
2024-10-03 21:07:20 +04:00
|
|
|
|
private Components.CustomTextBox customTextBox;
|
|
|
|
|
private Components.CustomDataGridView customDataGridView1;
|
2024-10-30 14:26:40 +04:00
|
|
|
|
|
|
|
|
|
private Button buttonCreateTable;
|
|
|
|
|
private Button buttonCreateHeaderedTable;
|
|
|
|
|
private Button buttonCreateHistogram;
|
|
|
|
|
private Components.NonVisual.TablePDF tablepdf1;
|
|
|
|
|
private Components.NonVisual.HistogramPDF histogrampdf1;
|
|
|
|
|
private Components.NonVisual.HeaderedTablePDF headeredTablepdf1;
|
2024-09-20 08:45:39 +04:00
|
|
|
|
}
|
|
|
|
|
}
|