179 lines
8.0 KiB
C#
179 lines
8.0 KiB
C#
namespace Laba3
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <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()
|
|
{
|
|
components = new System.ComponentModel.Container();
|
|
menuStrip1 = new MenuStrip();
|
|
createToolStripMenuItem = new ToolStripMenuItem();
|
|
updateToolStripMenuItem = new ToolStripMenuItem();
|
|
deleteToolStripMenuItem = new ToolStripMenuItem();
|
|
manufacturerToolStripMenuItem = new ToolStripMenuItem();
|
|
documentsToolStripMenuItem = new ToolStripMenuItem();
|
|
pdfImageToolStripMenuItem = new ToolStripMenuItem();
|
|
exelTableToolStripMenuItem = new ToolStripMenuItem();
|
|
wordGistToolStripMenuItem = new ToolStripMenuItem();
|
|
outputTableResults = new Library15Gerimovich.OutputTableResults();
|
|
pdfImg = new Library14Petrushin.PdfImg(components);
|
|
wordDiagramComponent = new Library15Gerimovich.WordDiagramComponent(components);
|
|
componentTable = new WinFormsLibrary1.ComponentTable(components);
|
|
saveFileDialogPdf = new SaveFileDialog();
|
|
saveFileDialogWord = new SaveFileDialog();
|
|
saveFileDialogExel = new SaveFileDialog();
|
|
menuStrip1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// menuStrip1
|
|
//
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { createToolStripMenuItem, updateToolStripMenuItem, deleteToolStripMenuItem, manufacturerToolStripMenuItem, documentsToolStripMenuItem });
|
|
menuStrip1.Location = new Point(0, 0);
|
|
menuStrip1.Name = "menuStrip1";
|
|
menuStrip1.Size = new Size(480, 28);
|
|
menuStrip1.TabIndex = 0;
|
|
menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// createToolStripMenuItem
|
|
//
|
|
createToolStripMenuItem.Name = "createToolStripMenuItem";
|
|
createToolStripMenuItem.Size = new Size(66, 24);
|
|
createToolStripMenuItem.Text = "Create";
|
|
createToolStripMenuItem.Click += addToolStripMenuItem_Click;
|
|
//
|
|
// updateToolStripMenuItem
|
|
//
|
|
updateToolStripMenuItem.Name = "updateToolStripMenuItem";
|
|
updateToolStripMenuItem.Size = new Size(72, 24);
|
|
updateToolStripMenuItem.Text = "Update";
|
|
updateToolStripMenuItem.Click += editToolStripMenuItem_Click;
|
|
//
|
|
// deleteToolStripMenuItem
|
|
//
|
|
deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
|
|
deleteToolStripMenuItem.Size = new Size(67, 24);
|
|
deleteToolStripMenuItem.Text = "Delete";
|
|
deleteToolStripMenuItem.Click += deleteToolStripMenuItem_Click;
|
|
//
|
|
// manufacturerToolStripMenuItem
|
|
//
|
|
manufacturerToolStripMenuItem.Name = "manufacturerToolStripMenuItem";
|
|
manufacturerToolStripMenuItem.Size = new Size(111, 24);
|
|
manufacturerToolStripMenuItem.Text = "Manufacturer";
|
|
manufacturerToolStripMenuItem.Click += manufacturersToolStripMenuItem_Click;
|
|
//
|
|
// documentsToolStripMenuItem
|
|
//
|
|
documentsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { pdfImageToolStripMenuItem, exelTableToolStripMenuItem, wordGistToolStripMenuItem });
|
|
documentsToolStripMenuItem.Name = "documentsToolStripMenuItem";
|
|
documentsToolStripMenuItem.Size = new Size(98, 24);
|
|
documentsToolStripMenuItem.Text = "Documents";
|
|
//
|
|
// pdfImageToolStripMenuItem
|
|
//
|
|
pdfImageToolStripMenuItem.Name = "pdfImageToolStripMenuItem";
|
|
pdfImageToolStripMenuItem.Size = new Size(159, 26);
|
|
pdfImageToolStripMenuItem.Text = "Pdf Image";
|
|
pdfImageToolStripMenuItem.Click += createSimpleDocumentToolStripMenuItem_Click;
|
|
//
|
|
// exelTableToolStripMenuItem
|
|
//
|
|
exelTableToolStripMenuItem.Name = "exelTableToolStripMenuItem";
|
|
exelTableToolStripMenuItem.Size = new Size(159, 26);
|
|
exelTableToolStripMenuItem.Text = "Exel table";
|
|
exelTableToolStripMenuItem.Click += createCustomTableDocumentToolStripMenuItem_Click;
|
|
//
|
|
// wordGistToolStripMenuItem
|
|
//
|
|
wordGistToolStripMenuItem.Name = "wordGistToolStripMenuItem";
|
|
wordGistToolStripMenuItem.Size = new Size(159, 26);
|
|
wordGistToolStripMenuItem.Text = "Word gist";
|
|
wordGistToolStripMenuItem.Click += createChartDocumentToolStripMenuItem_Click;
|
|
//
|
|
// outputTableResults
|
|
//
|
|
outputTableResults.Location = new Point(12, 32);
|
|
outputTableResults.Margin = new Padding(3, 4, 3, 4);
|
|
outputTableResults.Name = "outputTableResults";
|
|
outputTableResults.SelectedRow = -1;
|
|
outputTableResults.Size = new Size(467, 308);
|
|
outputTableResults.TabIndex = 1;
|
|
//
|
|
// saveFileDialogPdf
|
|
//
|
|
saveFileDialogPdf.FileName = "Products.pdf";
|
|
saveFileDialogPdf.Filter = "PDF Files (*.pdf)|*.pdf";
|
|
saveFileDialogPdf.Title = "Save PDF Document";
|
|
//
|
|
// saveFileDialogWord
|
|
//
|
|
saveFileDialogWord.FileName = "Diagram.docx";
|
|
saveFileDialogWord.Filter = "Word Files (*.docx)|*.docx";
|
|
saveFileDialogWord.Title = "Save Word Document";
|
|
//
|
|
// saveFileDialogExel
|
|
//
|
|
saveFileDialogExel.FileName = "ProductReport.xlsx";
|
|
saveFileDialogExel.Filter = "Excel Files (*.xlsx)|*.xlsx";
|
|
saveFileDialogExel.Title = "Save Excel Document";
|
|
//
|
|
// MainForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(480, 351);
|
|
Controls.Add(outputTableResults);
|
|
Controls.Add(menuStrip1);
|
|
KeyPreview = true;
|
|
MainMenuStrip = menuStrip1;
|
|
Name = "MainForm";
|
|
Text = "Form1";
|
|
KeyDown += MainForm_KeyDown;
|
|
menuStrip1.ResumeLayout(false);
|
|
menuStrip1.PerformLayout();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private MenuStrip menuStrip1;
|
|
private ToolStripMenuItem createToolStripMenuItem;
|
|
private ToolStripMenuItem updateToolStripMenuItem;
|
|
private Library15Gerimovich.OutputTableResults outputTableResults;
|
|
private ToolStripMenuItem deleteToolStripMenuItem;
|
|
private ToolStripMenuItem manufacturerToolStripMenuItem;
|
|
private ToolStripMenuItem documentsToolStripMenuItem;
|
|
private ToolStripMenuItem pdfImageToolStripMenuItem;
|
|
private ToolStripMenuItem exelTableToolStripMenuItem;
|
|
private ToolStripMenuItem wordGistToolStripMenuItem;
|
|
private Library14Petrushin.PdfImg pdfImg;
|
|
private Library15Gerimovich.WordDiagramComponent wordDiagramComponent;
|
|
private WinFormsLibrary1.ComponentTable componentTable;
|
|
}
|
|
}
|