2024-06-24 15:08:29 +04:00
|
|
|
|
namespace WinFormsApp
|
|
|
|
|
{
|
|
|
|
|
partial class FormMediaFiles
|
|
|
|
|
{
|
|
|
|
|
/// <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 16:23:42 +04:00
|
|
|
|
groupBoxFiles = new GroupBox();
|
|
|
|
|
panelFiles = new Panel();
|
|
|
|
|
comboBoxProduct = new ComboBox();
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonSelectFile = new Button();
|
|
|
|
|
labelFile = new Label();
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBoxControl = new GroupBox();
|
2024-06-24 17:09:03 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBox1 = new GroupBox();
|
|
|
|
|
label1 = new Label();
|
2024-06-24 16:23:42 +04:00
|
|
|
|
groupBoxFiles.SuspendLayout();
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBoxControl.SuspendLayout();
|
2024-06-24 17:09:03 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBox1.SuspendLayout();
|
2024-06-24 15:08:29 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
2024-06-24 16:23:42 +04:00
|
|
|
|
// groupBoxFiles
|
|
|
|
|
//
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBoxFiles.BackColor = Color.AliceBlue;
|
2024-06-24 16:23:42 +04:00
|
|
|
|
groupBoxFiles.Controls.Add(panelFiles);
|
|
|
|
|
groupBoxFiles.Dock = DockStyle.Left;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBoxFiles.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
groupBoxFiles.Location = new Point(0, 0);
|
|
|
|
|
groupBoxFiles.Name = "groupBoxFiles";
|
2024-06-24 17:09:03 +04:00
|
|
|
|
groupBoxFiles.Size = new Size(282, 586);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
groupBoxFiles.TabIndex = 0;
|
|
|
|
|
groupBoxFiles.TabStop = false;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBoxFiles.Text = "Фотографии выбранного товара";
|
2024-06-24 16:23:42 +04:00
|
|
|
|
//
|
|
|
|
|
// panelFiles
|
|
|
|
|
//
|
|
|
|
|
panelFiles.AutoScroll = true;
|
|
|
|
|
panelFiles.Dock = DockStyle.Fill;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
panelFiles.Location = new Point(3, 21);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
panelFiles.Name = "panelFiles";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
panelFiles.Size = new Size(276, 562);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
panelFiles.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxProduct
|
|
|
|
|
//
|
|
|
|
|
comboBoxProduct.FormattingEnabled = true;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
comboBoxProduct.Location = new Point(72, 71);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
comboBoxProduct.Name = "comboBoxProduct";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
comboBoxProduct.Size = new Size(116, 25);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
comboBoxProduct.TabIndex = 1;
|
|
|
|
|
comboBoxProduct.SelectedIndexChanged += comboBoxProduct_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
2024-06-25 22:48:02 +04:00
|
|
|
|
buttonAdd.BackColor = Color.FromArgb(192, 255, 192);
|
|
|
|
|
buttonAdd.ForeColor = SystemColors.ActiveCaptionText;
|
|
|
|
|
buttonAdd.Location = new Point(3, 160);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
buttonAdd.Size = new Size(92, 33);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
buttonAdd.TabIndex = 2;
|
|
|
|
|
buttonAdd.Text = "Добавить";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
buttonAdd.UseVisualStyleBackColor = false;
|
2024-06-24 16:23:42 +04:00
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonSelectFile
|
|
|
|
|
//
|
2024-06-25 22:48:02 +04:00
|
|
|
|
buttonSelectFile.ForeColor = SystemColors.ActiveCaptionText;
|
|
|
|
|
buttonSelectFile.Location = new Point(6, 102);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
buttonSelectFile.Name = "buttonSelectFile";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
buttonSelectFile.Size = new Size(89, 52);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
buttonSelectFile.TabIndex = 3;
|
|
|
|
|
buttonSelectFile.Text = "Выбрать файл...";
|
|
|
|
|
buttonSelectFile.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSelectFile.Click += buttonSelectFile_Click;
|
|
|
|
|
//
|
|
|
|
|
// labelFile
|
|
|
|
|
//
|
|
|
|
|
labelFile.AutoSize = true;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
labelFile.Location = new Point(114, 120);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
labelFile.Name = "labelFile";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
labelFile.Size = new Size(50, 19);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
labelFile.TabIndex = 4;
|
|
|
|
|
labelFile.Text = "Пусто";
|
|
|
|
|
//
|
2024-06-25 22:48:02 +04:00
|
|
|
|
// groupBoxControl
|
|
|
|
|
//
|
|
|
|
|
groupBoxControl.BackColor = Color.Transparent;
|
|
|
|
|
groupBoxControl.Controls.Add(label1);
|
|
|
|
|
groupBoxControl.Controls.Add(comboBoxProduct);
|
|
|
|
|
groupBoxControl.Controls.Add(labelFile);
|
|
|
|
|
groupBoxControl.Controls.Add(buttonAdd);
|
|
|
|
|
groupBoxControl.Controls.Add(buttonSelectFile);
|
|
|
|
|
groupBoxControl.Dock = DockStyle.Right;
|
|
|
|
|
groupBoxControl.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
|
|
|
groupBoxControl.ForeColor = SystemColors.ButtonFace;
|
|
|
|
|
groupBoxControl.Location = new Point(678, 0);
|
|
|
|
|
groupBoxControl.Name = "groupBoxControl";
|
|
|
|
|
groupBoxControl.Size = new Size(200, 586);
|
|
|
|
|
groupBoxControl.TabIndex = 5;
|
|
|
|
|
groupBoxControl.TabStop = false;
|
|
|
|
|
groupBoxControl.Text = "Элементы управления";
|
2024-06-24 15:08:29 +04:00
|
|
|
|
//
|
2024-06-24 17:09:03 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-06-25 22:48:02 +04:00
|
|
|
|
dataGridView.BackgroundColor = Color.AliceBlue;
|
2024-06-24 17:09:03 +04:00
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Dock = DockStyle.Fill;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
dataGridView.Location = new Point(3, 21);
|
2024-06-24 17:09:03 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
dataGridView.Size = new Size(390, 562);
|
2024-06-24 17:09:03 +04:00
|
|
|
|
dataGridView.TabIndex = 6;
|
|
|
|
|
//
|
2024-06-25 22:48:02 +04:00
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
groupBox1.BackColor = Color.Transparent;
|
|
|
|
|
groupBox1.Controls.Add(dataGridView);
|
|
|
|
|
groupBox1.Dock = DockStyle.Fill;
|
|
|
|
|
groupBox1.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
|
|
|
groupBox1.ForeColor = SystemColors.ButtonHighlight;
|
|
|
|
|
groupBox1.Location = new Point(282, 0);
|
|
|
|
|
groupBox1.Name = "groupBox1";
|
|
|
|
|
groupBox1.Size = new Size(396, 586);
|
|
|
|
|
groupBox1.TabIndex = 7;
|
|
|
|
|
groupBox1.TabStop = false;
|
|
|
|
|
groupBox1.Text = "Таблица со списком";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(6, 74);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(54, 19);
|
|
|
|
|
label1.TabIndex = 5;
|
|
|
|
|
label1.Text = "Товар:";
|
|
|
|
|
//
|
2024-06-24 15:08:29 +04:00
|
|
|
|
// FormMediaFiles
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
BackgroundImage = Properties.Resources._9AZKH1_1911594361;
|
2024-06-24 17:09:03 +04:00
|
|
|
|
ClientSize = new Size(878, 586);
|
2024-06-24 15:08:29 +04:00
|
|
|
|
Controls.Add(groupBox1);
|
2024-06-25 22:48:02 +04:00
|
|
|
|
Controls.Add(groupBoxControl);
|
2024-06-24 16:23:42 +04:00
|
|
|
|
Controls.Add(groupBoxFiles);
|
2024-06-24 15:08:29 +04:00
|
|
|
|
Name = "FormMediaFiles";
|
2024-06-25 22:48:02 +04:00
|
|
|
|
Text = "Прикрепленные файлы";
|
2024-06-24 16:23:42 +04:00
|
|
|
|
Load += FormMediaFiles_Load;
|
|
|
|
|
Resize += FormMediaFiles_Resize;
|
|
|
|
|
groupBoxFiles.ResumeLayout(false);
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBoxControl.ResumeLayout(false);
|
|
|
|
|
groupBoxControl.PerformLayout();
|
2024-06-24 17:09:03 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
2024-06-25 22:48:02 +04:00
|
|
|
|
groupBox1.ResumeLayout(false);
|
2024-06-24 15:08:29 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2024-06-24 16:23:42 +04:00
|
|
|
|
private GroupBox groupBoxFiles;
|
|
|
|
|
private ComboBox comboBoxProduct;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonSelectFile;
|
|
|
|
|
private Label labelFile;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
private GroupBox groupBoxControl;
|
2024-06-24 16:23:42 +04:00
|
|
|
|
private Panel panelFiles;
|
2024-06-24 17:09:03 +04:00
|
|
|
|
private DataGridView dataGridView;
|
2024-06-25 22:48:02 +04:00
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private Label label1;
|
2024-06-24 15:08:29 +04:00
|
|
|
|
}
|
|
|
|
|
}
|