2024-06-23 12:07:01 +04:00
|
|
|
|
namespace WinFormsApp
|
|
|
|
|
{
|
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <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-06-24 22:04:04 +04:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
|
2024-06-23 12:07:01 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateSupply = new Button();
|
2024-06-23 14:01:09 +04:00
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
товарыToolStripMenuItem = new ToolStripMenuItem();
|
2024-06-23 17:04:26 +04:00
|
|
|
|
поставщикиToolStripMenuItem = new ToolStripMenuItem();
|
2024-06-23 22:18:51 +04:00
|
|
|
|
buttonSupplyStatusArriving = new Button();
|
2024-06-23 22:32:43 +04:00
|
|
|
|
buttonSupplyStatusCompleted = new Button();
|
2024-06-24 19:26:39 +04:00
|
|
|
|
buttonCreateReport = new Button();
|
2024-06-24 22:04:04 +04:00
|
|
|
|
buttonPrintReport = new Button();
|
|
|
|
|
printPreviewDialog = new PrintPreviewDialog();
|
|
|
|
|
printDialog = new PrintDialog();
|
2024-06-23 12:07:01 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
2024-06-23 14:01:09 +04:00
|
|
|
|
menuStrip1.SuspendLayout();
|
2024-06-23 12:07:01 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2024-06-23 17:04:26 +04:00
|
|
|
|
dataGridView.Dock = DockStyle.Left;
|
|
|
|
|
dataGridView.Location = new Point(0, 24);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
2024-06-23 17:04:26 +04:00
|
|
|
|
dataGridView.Size = new Size(663, 360);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateSupply
|
|
|
|
|
//
|
2024-06-23 22:18:51 +04:00
|
|
|
|
buttonCreateSupply.Location = new Point(707, 27);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
buttonCreateSupply.Name = "buttonCreateSupply";
|
|
|
|
|
buttonCreateSupply.Size = new Size(154, 23);
|
|
|
|
|
buttonCreateSupply.TabIndex = 1;
|
|
|
|
|
buttonCreateSupply.Text = "Оформить поставку";
|
|
|
|
|
buttonCreateSupply.UseVisualStyleBackColor = true;
|
2024-06-23 21:35:37 +04:00
|
|
|
|
buttonCreateSupply.Click += buttonCreateSupply_Click;
|
2024-06-23 12:07:01 +04:00
|
|
|
|
//
|
2024-06-23 14:01:09 +04:00
|
|
|
|
// menuStrip1
|
2024-06-23 12:07:01 +04:00
|
|
|
|
//
|
2024-06-23 17:04:26 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { товарыToolStripMenuItem, поставщикиToolStripMenuItem });
|
2024-06-23 14:01:09 +04:00
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
2024-06-23 17:04:26 +04:00
|
|
|
|
menuStrip1.Size = new Size(901, 24);
|
2024-06-23 14:01:09 +04:00
|
|
|
|
menuStrip1.TabIndex = 2;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// товарыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
товарыToolStripMenuItem.Name = "товарыToolStripMenuItem";
|
|
|
|
|
товарыToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
товарыToolStripMenuItem.Text = "Товары";
|
2024-06-23 17:04:26 +04:00
|
|
|
|
товарыToolStripMenuItem.Click += товарыToolStripMenuItem_Click_1;
|
|
|
|
|
//
|
|
|
|
|
// поставщикиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
поставщикиToolStripMenuItem.Name = "поставщикиToolStripMenuItem";
|
|
|
|
|
поставщикиToolStripMenuItem.Size = new Size(89, 20);
|
|
|
|
|
поставщикиToolStripMenuItem.Text = "Поставщики";
|
|
|
|
|
поставщикиToolStripMenuItem.Click += поставщикиToolStripMenuItem_Click_1;
|
2024-06-23 12:07:01 +04:00
|
|
|
|
//
|
2024-06-23 22:18:51 +04:00
|
|
|
|
// buttonSupplyStatusArriving
|
|
|
|
|
//
|
|
|
|
|
buttonSupplyStatusArriving.Location = new Point(707, 76);
|
|
|
|
|
buttonSupplyStatusArriving.Name = "buttonSupplyStatusArriving";
|
|
|
|
|
buttonSupplyStatusArriving.Size = new Size(154, 23);
|
|
|
|
|
buttonSupplyStatusArriving.TabIndex = 3;
|
|
|
|
|
buttonSupplyStatusArriving.Text = "Поставка в пути";
|
|
|
|
|
buttonSupplyStatusArriving.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSupplyStatusArriving.Click += buttonSupplyStatusArriving_Click;
|
|
|
|
|
//
|
2024-06-23 22:32:43 +04:00
|
|
|
|
// buttonSupplyStatusCompleted
|
|
|
|
|
//
|
|
|
|
|
buttonSupplyStatusCompleted.Location = new Point(707, 125);
|
|
|
|
|
buttonSupplyStatusCompleted.Name = "buttonSupplyStatusCompleted";
|
|
|
|
|
buttonSupplyStatusCompleted.Size = new Size(154, 23);
|
|
|
|
|
buttonSupplyStatusCompleted.TabIndex = 4;
|
|
|
|
|
buttonSupplyStatusCompleted.Text = "Поставка завершена";
|
|
|
|
|
buttonSupplyStatusCompleted.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSupplyStatusCompleted.Click += buttonSupplyStatusCompleted_Click;
|
|
|
|
|
//
|
2024-06-24 19:26:39 +04:00
|
|
|
|
// buttonCreateReport
|
|
|
|
|
//
|
|
|
|
|
buttonCreateReport.Location = new Point(707, 190);
|
|
|
|
|
buttonCreateReport.Name = "buttonCreateReport";
|
|
|
|
|
buttonCreateReport.Size = new Size(154, 44);
|
|
|
|
|
buttonCreateReport.TabIndex = 5;
|
|
|
|
|
buttonCreateReport.Text = "Сформировать отчет о поставке";
|
|
|
|
|
buttonCreateReport.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateReport.Click += buttonCreateReport_Click;
|
|
|
|
|
//
|
2024-06-24 22:04:04 +04:00
|
|
|
|
// buttonPrintReport
|
|
|
|
|
//
|
|
|
|
|
buttonPrintReport.Location = new Point(707, 274);
|
|
|
|
|
buttonPrintReport.Name = "buttonPrintReport";
|
|
|
|
|
buttonPrintReport.Size = new Size(154, 44);
|
|
|
|
|
buttonPrintReport.TabIndex = 6;
|
|
|
|
|
buttonPrintReport.Text = "Распечатать отчет";
|
|
|
|
|
buttonPrintReport.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonPrintReport.Click += buttonPrintReport_Click;
|
|
|
|
|
//
|
|
|
|
|
// printPreviewDialog
|
|
|
|
|
//
|
|
|
|
|
printPreviewDialog.AutoScrollMargin = new Size(0, 0);
|
|
|
|
|
printPreviewDialog.AutoScrollMinSize = new Size(0, 0);
|
|
|
|
|
printPreviewDialog.ClientSize = new Size(400, 300);
|
|
|
|
|
printPreviewDialog.Enabled = true;
|
|
|
|
|
printPreviewDialog.Icon = (Icon)resources.GetObject("printPreviewDialog.Icon");
|
|
|
|
|
printPreviewDialog.Name = "printPreviewDialog";
|
|
|
|
|
printPreviewDialog.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// printDialog
|
|
|
|
|
//
|
|
|
|
|
printDialog.UseEXDialog = true;
|
|
|
|
|
//
|
2024-06-23 12:07:01 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-06-23 17:04:26 +04:00
|
|
|
|
ClientSize = new Size(901, 384);
|
2024-06-24 22:04:04 +04:00
|
|
|
|
Controls.Add(buttonPrintReport);
|
2024-06-24 19:26:39 +04:00
|
|
|
|
Controls.Add(buttonCreateReport);
|
2024-06-23 22:32:43 +04:00
|
|
|
|
Controls.Add(buttonSupplyStatusCompleted);
|
2024-06-23 22:18:51 +04:00
|
|
|
|
Controls.Add(buttonSupplyStatusArriving);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
Controls.Add(buttonCreateSupply);
|
|
|
|
|
Controls.Add(dataGridView);
|
2024-06-23 14:01:09 +04:00
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
MainMenuStrip = menuStrip1;
|
2024-06-23 12:07:01 +04:00
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "FormMain";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
2024-06-23 14:01:09 +04:00
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
2024-06-23 12:07:01 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateSupply;
|
2024-06-23 14:01:09 +04:00
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem товарыToolStripMenuItem;
|
2024-06-23 17:04:26 +04:00
|
|
|
|
private ToolStripMenuItem поставщикиToolStripMenuItem;
|
2024-06-23 22:18:51 +04:00
|
|
|
|
private Button buttonSupplyStatusArriving;
|
2024-06-23 22:32:43 +04:00
|
|
|
|
private Button buttonSupplyStatusCompleted;
|
2024-06-24 19:26:39 +04:00
|
|
|
|
private Button buttonCreateReport;
|
2024-06-24 22:04:04 +04:00
|
|
|
|
private Button buttonPrintReport;
|
|
|
|
|
private PrintPreviewDialog printPreviewDialog;
|
|
|
|
|
private PrintDialog printDialog;
|
2024-06-23 12:07:01 +04:00
|
|
|
|
}
|
|
|
|
|
}
|