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-25 21:50:28 +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 22:04:04 +04:00
|
|
|
|
printPreviewDialog = new PrintPreviewDialog();
|
|
|
|
|
printDialog = new PrintDialog();
|
2024-06-25 13:14:23 +04:00
|
|
|
|
buttonRefresh = new Button();
|
2024-06-25 21:50:28 +04:00
|
|
|
|
pictureBox1 = new PictureBox();
|
|
|
|
|
groupBox1 = new GroupBox();
|
|
|
|
|
pictureBox2 = new PictureBox();
|
|
|
|
|
buttonPrintReport = new Button();
|
|
|
|
|
buttonCreateReport = new Button();
|
|
|
|
|
groupBox2 = new GroupBox();
|
|
|
|
|
label1 = new Label();
|
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-25 21:50:28 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
|
|
|
groupBox1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
|
|
|
|
|
groupBox2.SuspendLayout();
|
2024-06-23 12:07:01 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-06-25 22:22:21 +04:00
|
|
|
|
dataGridView.BackgroundColor = Color.FromArgb(160, 160, 220);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2024-06-25 21:50:28 +04:00
|
|
|
|
dataGridView.Dock = DockStyle.Top;
|
2024-06-23 17:04:26 +04:00
|
|
|
|
dataGridView.Location = new Point(0, 24);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
2024-06-25 21:50:28 +04:00
|
|
|
|
dataGridView.Size = new Size(901, 231);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateSupply
|
|
|
|
|
//
|
2024-06-25 22:22:21 +04:00
|
|
|
|
buttonCreateSupply.BackColor = Color.FromArgb(192, 255, 192);
|
2024-06-25 21:50:28 +04:00
|
|
|
|
buttonCreateSupply.Location = new Point(6, 24);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
buttonCreateSupply.Name = "buttonCreateSupply";
|
|
|
|
|
buttonCreateSupply.Size = new Size(154, 23);
|
|
|
|
|
buttonCreateSupply.TabIndex = 1;
|
|
|
|
|
buttonCreateSupply.Text = "Оформить поставку";
|
2024-06-25 21:50:28 +04:00
|
|
|
|
buttonCreateSupply.UseVisualStyleBackColor = false;
|
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-25 18:32:16 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { товарыToolStripMenuItem, поставщики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-25 21:50:28 +04:00
|
|
|
|
// статистикаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
статистикаToolStripMenuItem.Name = "статистикаToolStripMenuItem";
|
|
|
|
|
статистикаToolStripMenuItem.Size = new Size(80, 20);
|
|
|
|
|
статистикаToolStripMenuItem.Text = "Статистика";
|
|
|
|
|
статистикаToolStripMenuItem.Click += статистикаToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-06-23 22:18:51 +04:00
|
|
|
|
// buttonSupplyStatusArriving
|
|
|
|
|
//
|
2024-06-25 21:50:28 +04:00
|
|
|
|
buttonSupplyStatusArriving.Location = new Point(190, 53);
|
2024-06-23 22:18:51 +04:00
|
|
|
|
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
|
|
|
|
|
//
|
2024-06-25 21:50:28 +04:00
|
|
|
|
buttonSupplyStatusCompleted.Location = new Point(190, 23);
|
2024-06-23 22:32:43 +04:00
|
|
|
|
buttonSupplyStatusCompleted.Name = "buttonSupplyStatusCompleted";
|
|
|
|
|
buttonSupplyStatusCompleted.Size = new Size(154, 23);
|
|
|
|
|
buttonSupplyStatusCompleted.TabIndex = 4;
|
|
|
|
|
buttonSupplyStatusCompleted.Text = "Поставка завершена";
|
|
|
|
|
buttonSupplyStatusCompleted.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSupplyStatusCompleted.Click += buttonSupplyStatusCompleted_Click;
|
|
|
|
|
//
|
2024-06-24 22:04:04 +04:00
|
|
|
|
// 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-25 13:14:23 +04:00
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
2024-06-25 21:50:28 +04:00
|
|
|
|
buttonRefresh.Location = new Point(735, 272);
|
2024-06-25 13:14:23 +04:00
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(154, 47);
|
|
|
|
|
buttonRefresh.TabIndex = 7;
|
2024-06-25 21:50:28 +04:00
|
|
|
|
buttonRefresh.Text = "Обновить список поставок";
|
2024-06-25 13:14:23 +04:00
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
|
|
|
//
|
2024-06-25 21:50:28 +04:00
|
|
|
|
// pictureBox1
|
2024-06-25 18:32:16 +04:00
|
|
|
|
//
|
2024-06-25 21:50:28 +04:00
|
|
|
|
pictureBox1.BackColor = Color.Transparent;
|
2024-06-25 22:22:21 +04:00
|
|
|
|
pictureBox1.BackgroundImage = Properties.Resources.favicon;
|
2024-06-25 21:50:28 +04:00
|
|
|
|
pictureBox1.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
pictureBox1.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
pictureBox1.InitialImage = (Image)resources.GetObject("pictureBox1.InitialImage");
|
|
|
|
|
pictureBox1.Location = new Point(873, 360);
|
|
|
|
|
pictureBox1.Name = "pictureBox1";
|
|
|
|
|
pictureBox1.Size = new Size(28, 24);
|
|
|
|
|
pictureBox1.TabIndex = 8;
|
|
|
|
|
pictureBox1.TabStop = false;
|
|
|
|
|
pictureBox1.Click += pictureBox1_Click;
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
groupBox1.BackColor = SystemColors.ActiveCaption;
|
|
|
|
|
groupBox1.Controls.Add(buttonSupplyStatusCompleted);
|
|
|
|
|
groupBox1.Controls.Add(buttonSupplyStatusArriving);
|
|
|
|
|
groupBox1.Controls.Add(buttonCreateSupply);
|
|
|
|
|
groupBox1.Location = new Point(12, 260);
|
|
|
|
|
groupBox1.Name = "groupBox1";
|
|
|
|
|
groupBox1.Size = new Size(362, 112);
|
|
|
|
|
groupBox1.TabIndex = 10;
|
|
|
|
|
groupBox1.TabStop = false;
|
|
|
|
|
groupBox1.Text = "Управление поставками";
|
|
|
|
|
//
|
|
|
|
|
// pictureBox2
|
|
|
|
|
//
|
2024-06-25 22:22:21 +04:00
|
|
|
|
pictureBox2.BackgroundImage = Properties.Resources.pdf_icon_on_transparent_background_free_png_2869912988;
|
2024-06-25 21:50:28 +04:00
|
|
|
|
pictureBox2.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
pictureBox2.Location = new Point(323, 0);
|
|
|
|
|
pictureBox2.Name = "pictureBox2";
|
|
|
|
|
pictureBox2.Size = new Size(26, 33);
|
|
|
|
|
pictureBox2.TabIndex = 9;
|
|
|
|
|
pictureBox2.TabStop = false;
|
|
|
|
|
pictureBox2.Click += pictureBox2_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonPrintReport
|
|
|
|
|
//
|
|
|
|
|
buttonPrintReport.Location = new Point(154, 31);
|
|
|
|
|
buttonPrintReport.Name = "buttonPrintReport";
|
|
|
|
|
buttonPrintReport.Size = new Size(154, 44);
|
|
|
|
|
buttonPrintReport.TabIndex = 6;
|
|
|
|
|
buttonPrintReport.Text = "Распечатать отчет";
|
|
|
|
|
buttonPrintReport.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonPrintReport.Click += buttonPrintReport_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateReport
|
|
|
|
|
//
|
|
|
|
|
buttonCreateReport.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonCreateReport.Location = new Point(20, 31);
|
|
|
|
|
buttonCreateReport.Name = "buttonCreateReport";
|
|
|
|
|
buttonCreateReport.Size = new Size(113, 44);
|
|
|
|
|
buttonCreateReport.TabIndex = 5;
|
|
|
|
|
buttonCreateReport.Text = "Сформировать отчет о поставке";
|
|
|
|
|
buttonCreateReport.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateReport.Click += buttonCreateReport_Click;
|
|
|
|
|
//
|
|
|
|
|
// groupBox2
|
|
|
|
|
//
|
|
|
|
|
groupBox2.BackColor = SystemColors.ActiveCaption;
|
|
|
|
|
groupBox2.Controls.Add(buttonPrintReport);
|
|
|
|
|
groupBox2.Controls.Add(buttonCreateReport);
|
|
|
|
|
groupBox2.Controls.Add(pictureBox2);
|
|
|
|
|
groupBox2.Location = new Point(380, 261);
|
|
|
|
|
groupBox2.Name = "groupBox2";
|
|
|
|
|
groupBox2.Size = new Size(349, 111);
|
|
|
|
|
groupBox2.TabIndex = 11;
|
|
|
|
|
groupBox2.TabStop = false;
|
|
|
|
|
groupBox2.Text = "Управление отчетами";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.BackColor = Color.Transparent;
|
|
|
|
|
label1.ForeColor = SystemColors.Control;
|
|
|
|
|
label1.Location = new Point(772, 369);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(95, 15);
|
|
|
|
|
label1.TabIndex = 12;
|
|
|
|
|
label1.Text = "Система 21guns";
|
2024-06-25 18:32:16 +04:00
|
|
|
|
//
|
2024-06-23 12:07:01 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-06-25 22:22:21 +04:00
|
|
|
|
BackgroundImage = Properties.Resources._9AZKH1_1911594361;
|
2024-06-23 17:04:26 +04:00
|
|
|
|
ClientSize = new Size(901, 384);
|
2024-06-25 21:50:28 +04:00
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(groupBox2);
|
|
|
|
|
Controls.Add(groupBox1);
|
|
|
|
|
Controls.Add(pictureBox1);
|
2024-06-25 13:14:23 +04:00
|
|
|
|
Controls.Add(buttonRefresh);
|
2024-06-23 12:07:01 +04:00
|
|
|
|
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";
|
2024-06-25 21:50:28 +04:00
|
|
|
|
Text = "Поставки";
|
2024-06-23 12:07:01 +04:00
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
2024-06-23 14:01:09 +04:00
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
2024-06-25 21:50:28 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
|
|
|
groupBox1.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
|
|
|
|
|
groupBox2.ResumeLayout(false);
|
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 22:04:04 +04:00
|
|
|
|
private PrintPreviewDialog printPreviewDialog;
|
|
|
|
|
private PrintDialog printDialog;
|
2024-06-25 13:14:23 +04:00
|
|
|
|
private Button buttonRefresh;
|
2024-06-25 18:32:16 +04:00
|
|
|
|
private ToolStripMenuItem статистикаToolStripMenuItem;
|
2024-06-25 21:50:28 +04:00
|
|
|
|
private PictureBox pictureBox1;
|
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private PictureBox pictureBox2;
|
|
|
|
|
private Button buttonPrintReport;
|
|
|
|
|
private Button buttonCreateReport;
|
|
|
|
|
private GroupBox groupBox2;
|
|
|
|
|
private Label label1;
|
2024-06-23 12:07:01 +04:00
|
|
|
|
}
|
|
|
|
|
}
|