223 lines
12 KiB
C#
223 lines
12 KiB
C#
//------------------------------------------------------------------------------
|
||
// <auto-generated>
|
||
// Этот код создан программой.
|
||
// Исполняемая версия:4.0.30319.42000
|
||
//
|
||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||
// повторной генерации кода.
|
||
// </auto-generated>
|
||
//------------------------------------------------------------------------------
|
||
|
||
namespace OzonInternalLabelPrinter // Убедитесь, что это ваше пространство имен
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// Обязательная переменная конструктора.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// Освободить все используемые ресурсы.
|
||
/// </summary>
|
||
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
// Освобождаем ресурсы, созданные в коде Form1.cs
|
||
_httpClient?.Dispose();
|
||
_printDocForSetup?.Dispose(); // Добавлено освобождение PrintDocument
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Код, автоматически созданный конструктором форм Windows
|
||
|
||
/// <summary>
|
||
/// Требуемый метод для поддержки конструктора — не изменяйте
|
||
/// содержимое этого метода с помощью редактора кода.
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.label3 = new System.Windows.Forms.Label();
|
||
this.txtOfferId = new System.Windows.Forms.TextBox();
|
||
this.btnGetData = new System.Windows.Forms.Button();
|
||
this.lblProductName = new System.Windows.Forms.Label();
|
||
this.lblProductSku = new System.Windows.Forms.Label();
|
||
this.lblProductBarcode = new System.Windows.Forms.Label();
|
||
this.btnPrintLabel = new System.Windows.Forms.Button();
|
||
this.lblStatus = new System.Windows.Forms.Label();
|
||
this.cmbStores = new System.Windows.Forms.ComboBox();
|
||
this.btnManageStores = new System.Windows.Forms.Button();
|
||
this.labelStore = new System.Windows.Forms.Label();
|
||
this.btnPageSetup = new System.Windows.Forms.Button(); // Объявление кнопки Настройки
|
||
this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); // Объявление диалога Настройки
|
||
this.SuspendLayout();
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.AutoSize = true;
|
||
this.label3.Location = new System.Drawing.Point(12, 94); // Скорректировано
|
||
this.label3.Name = "label3";
|
||
this.label3.Size = new System.Drawing.Size(51, 13);
|
||
this.label3.TabIndex = 4;
|
||
this.label3.Text = "Артикул:";
|
||
//
|
||
// txtOfferId
|
||
//
|
||
this.txtOfferId.Enabled = false;
|
||
this.txtOfferId.Location = new System.Drawing.Point(88, 91); // Скорректировано
|
||
this.txtOfferId.Name = "txtOfferId";
|
||
this.txtOfferId.Size = new System.Drawing.Size(176, 20);
|
||
this.txtOfferId.TabIndex = 3; // TabIndex изменен
|
||
this.txtOfferId.TextChanged += new System.EventHandler(this.txtOfferId_TextChanged);
|
||
//
|
||
// btnGetData
|
||
//
|
||
this.btnGetData.Enabled = false;
|
||
this.btnGetData.Location = new System.Drawing.Point(270, 89); // Скорректировано
|
||
this.btnGetData.Name = "btnGetData";
|
||
this.btnGetData.Size = new System.Drawing.Size(118, 23);
|
||
this.btnGetData.TabIndex = 4; // TabIndex изменен
|
||
this.btnGetData.Text = "Получить данные";
|
||
this.btnGetData.UseVisualStyleBackColor = true;
|
||
this.btnGetData.Click += new System.EventHandler(this.btnGetData_Click);
|
||
//
|
||
// lblProductName
|
||
//
|
||
this.lblProductName.AutoSize = true;
|
||
this.lblProductName.Location = new System.Drawing.Point(12, 133); // Скорректировано
|
||
this.lblProductName.Name = "lblProductName";
|
||
this.lblProductName.Size = new System.Drawing.Size(60, 13);
|
||
this.lblProductName.TabIndex = 5;
|
||
this.lblProductName.Text = "Название:";
|
||
//
|
||
// lblProductSku
|
||
//
|
||
this.lblProductSku.AutoSize = true;
|
||
this.lblProductSku.Location = new System.Drawing.Point(12, 156); // Скорректировано
|
||
this.lblProductSku.Name = "lblProductSku";
|
||
this.lblProductSku.Size = new System.Drawing.Size(51, 13);
|
||
this.lblProductSku.TabIndex = 6;
|
||
this.lblProductSku.Text = "Артикул:";
|
||
//
|
||
// lblProductBarcode
|
||
//
|
||
this.lblProductBarcode.AutoSize = true;
|
||
this.lblProductBarcode.Location = new System.Drawing.Point(12, 179); // Скорректировано
|
||
this.lblProductBarcode.Name = "lblProductBarcode";
|
||
this.lblProductBarcode.Size = new System.Drawing.Size(59, 13);
|
||
this.lblProductBarcode.TabIndex = 7;
|
||
this.lblProductBarcode.Text = "Штрихкод:";
|
||
//
|
||
// btnPrintLabel
|
||
//
|
||
this.btnPrintLabel.Enabled = false;
|
||
this.btnPrintLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.btnPrintLabel.Location = new System.Drawing.Point(16, 214); // Скорректировано
|
||
this.btnPrintLabel.Name = "btnPrintLabel";
|
||
this.btnPrintLabel.Size = new System.Drawing.Size(373, 33);
|
||
this.btnPrintLabel.TabIndex = 8; // TabIndex изменен
|
||
this.btnPrintLabel.Text = "Печать этикетки";
|
||
this.btnPrintLabel.UseVisualStyleBackColor = true;
|
||
this.btnPrintLabel.Click += new System.EventHandler(this.btnPrintLabel_Click);
|
||
//
|
||
// lblStatus
|
||
//
|
||
this.lblStatus.AutoSize = true;
|
||
this.lblStatus.Location = new System.Drawing.Point(13, 260); // Скорректировано
|
||
this.lblStatus.Name = "lblStatus";
|
||
this.lblStatus.Size = new System.Drawing.Size(44, 13);
|
||
this.lblStatus.TabIndex = 9;
|
||
this.lblStatus.Text = "Статус:";
|
||
//
|
||
// cmbStores
|
||
//
|
||
this.cmbStores.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
this.cmbStores.FormattingEnabled = true;
|
||
this.cmbStores.Location = new System.Drawing.Point(88, 24);
|
||
this.cmbStores.Name = "cmbStores";
|
||
this.cmbStores.Size = new System.Drawing.Size(176, 21);
|
||
this.cmbStores.TabIndex = 0;
|
||
this.cmbStores.SelectedIndexChanged += new System.EventHandler(this.cmbStores_SelectedIndexChanged);
|
||
//
|
||
// btnManageStores
|
||
//
|
||
this.btnManageStores.Location = new System.Drawing.Point(270, 23);
|
||
this.btnManageStores.Name = "btnManageStores";
|
||
this.btnManageStores.Size = new System.Drawing.Size(118, 23);
|
||
this.btnManageStores.TabIndex = 1;
|
||
this.btnManageStores.Text = "Упр. магазинами...";
|
||
this.btnManageStores.UseVisualStyleBackColor = true;
|
||
this.btnManageStores.Click += new System.EventHandler(this.btnManageStores_Click);
|
||
//
|
||
// labelStore
|
||
//
|
||
this.labelStore.AutoSize = true;
|
||
this.labelStore.Location = new System.Drawing.Point(12, 27);
|
||
this.labelStore.Name = "labelStore";
|
||
this.labelStore.Size = new System.Drawing.Size(54, 13);
|
||
this.labelStore.TabIndex = 15;
|
||
this.labelStore.Text = "Магазин:";
|
||
//
|
||
// btnPageSetup
|
||
// *** Новая кнопка Настройки принтера ***
|
||
this.btnPageSetup.Location = new System.Drawing.Point(270, 53);
|
||
this.btnPageSetup.Name = "btnPageSetup";
|
||
this.btnPageSetup.Size = new System.Drawing.Size(118, 23);
|
||
this.btnPageSetup.TabIndex = 2; // Изменен TabIndex
|
||
this.btnPageSetup.Text = "Настройка принтера";
|
||
this.btnPageSetup.UseVisualStyleBackColor = true;
|
||
this.btnPageSetup.Click += new System.EventHandler(this.btnPageSetup_Click);
|
||
//
|
||
// pageSetupDialog1
|
||
// *** Диалог настройки страницы ***
|
||
this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog();
|
||
this.pageSetupDialog1.EnableMetric = true;
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(404, 288); // Скорректирован размер
|
||
this.Controls.Add(this.btnPageSetup); // Добавлена кнопка
|
||
this.Controls.Add(this.labelStore);
|
||
this.Controls.Add(this.btnManageStores);
|
||
this.Controls.Add(this.cmbStores);
|
||
this.Controls.Add(this.lblStatus);
|
||
this.Controls.Add(this.btnPrintLabel);
|
||
this.Controls.Add(this.lblProductBarcode);
|
||
this.Controls.Add(this.lblProductSku);
|
||
this.Controls.Add(this.lblProductName);
|
||
this.Controls.Add(this.btnGetData);
|
||
this.Controls.Add(this.txtOfferId);
|
||
this.Controls.Add(this.label3);
|
||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||
this.MaximizeBox = false;
|
||
this.Name = "Form1";
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Text = "Генератор внутренних этикеток Ozon";
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.Label label3;
|
||
private System.Windows.Forms.TextBox txtOfferId;
|
||
private System.Windows.Forms.Button btnGetData;
|
||
private System.Windows.Forms.Label lblProductName;
|
||
private System.Windows.Forms.Label lblProductSku;
|
||
private System.Windows.Forms.Label lblProductBarcode;
|
||
private System.Windows.Forms.Button btnPrintLabel;
|
||
private System.Windows.Forms.Label lblStatus;
|
||
private System.Windows.Forms.ComboBox cmbStores;
|
||
private System.Windows.Forms.Button btnManageStores;
|
||
private System.Windows.Forms.Label labelStore;
|
||
private System.Windows.Forms.Button btnPageSetup; // Добавлено
|
||
private System.Windows.Forms.PageSetupDialog pageSetupDialog1; // Добавлено
|
||
}
|
||
} |