202 lines
9.0 KiB
C#
202 lines
9.0 KiB
C#
namespace SKLADm
|
|
{
|
|
partial class FormManageStores
|
|
{
|
|
/// <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()
|
|
{
|
|
this.lstStores = new System.Windows.Forms.ListBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.btnAddStore = new System.Windows.Forms.Button();
|
|
this.txtEditApiKey = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.txtEditClientId = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtStoreName = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.btnDeleteStore = new System.Windows.Forms.Button();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// lstStores
|
|
//
|
|
this.lstStores.FormattingEnabled = true;
|
|
this.lstStores.Location = new System.Drawing.Point(12, 25);
|
|
this.lstStores.Name = "lstStores";
|
|
this.lstStores.Size = new System.Drawing.Size(188, 199); // Adjust height as needed
|
|
this.lstStores.TabIndex = 0;
|
|
// Add event handler if you want to display details on selection:
|
|
// this.lstStores.SelectedIndexChanged += new System.EventHandler(this.lstStores_SelectedIndexChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(121, 13);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Сохраненные магазины:";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.btnAddStore);
|
|
this.groupBox1.Controls.Add(this.txtEditApiKey);
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Controls.Add(this.txtEditClientId);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.txtStoreName);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Location = new System.Drawing.Point(219, 25);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(303, 155); // Adjust size as needed
|
|
this.groupBox1.TabIndex = 2;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Добавить новый магазин";
|
|
//
|
|
// btnAddStore
|
|
//
|
|
this.btnAddStore.Location = new System.Drawing.Point(196, 118);
|
|
this.btnAddStore.Name = "btnAddStore";
|
|
this.btnAddStore.Size = new System.Drawing.Size(97, 23);
|
|
this.btnAddStore.TabIndex = 6;
|
|
this.btnAddStore.Text = "Добавить";
|
|
this.btnAddStore.UseVisualStyleBackColor = true;
|
|
this.btnAddStore.Click += new System.EventHandler(this.btnAddStore_Click);
|
|
//
|
|
// txtEditApiKey
|
|
//
|
|
this.txtEditApiKey.Location = new System.Drawing.Point(74, 86);
|
|
this.txtEditApiKey.Name = "txtEditApiKey";
|
|
this.txtEditApiKey.PasswordChar = '*';
|
|
this.txtEditApiKey.Size = new System.Drawing.Size(219, 20);
|
|
this.txtEditApiKey.TabIndex = 5;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(16, 89);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(48, 13);
|
|
this.label4.TabIndex = 4;
|
|
this.label4.Text = "Api-Key:";
|
|
//
|
|
// txtEditClientId
|
|
//
|
|
this.txtEditClientId.Location = new System.Drawing.Point(74, 57);
|
|
this.txtEditClientId.Name = "txtEditClientId";
|
|
this.txtEditClientId.Size = new System.Drawing.Size(219, 20);
|
|
this.txtEditClientId.TabIndex = 3;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(16, 60);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(50, 13);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Client ID:";
|
|
//
|
|
// txtStoreName
|
|
//
|
|
this.txtStoreName.Location = new System.Drawing.Point(74, 28);
|
|
this.txtStoreName.Name = "txtStoreName";
|
|
this.txtStoreName.Size = new System.Drawing.Size(219, 20);
|
|
this.txtStoreName.TabIndex = 1;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(16, 31);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(60, 13);
|
|
this.label2.TabIndex = 0;
|
|
this.label2.Text = "Название:";
|
|
//
|
|
// btnDeleteStore
|
|
//
|
|
this.btnDeleteStore.Location = new System.Drawing.Point(12, 230); // Position below listbox
|
|
this.btnDeleteStore.Name = "btnDeleteStore";
|
|
this.btnDeleteStore.Size = new System.Drawing.Size(188, 23);
|
|
this.btnDeleteStore.TabIndex = 3;
|
|
this.btnDeleteStore.Text = "Удалить выбранный";
|
|
this.btnDeleteStore.UseVisualStyleBackColor = true;
|
|
this.btnDeleteStore.Click += new System.EventHandler(this.btnDeleteStore_Click);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; // Makes Esc close the form
|
|
this.btnClose.Location = new System.Drawing.Point(447, 230); // Position bottom right
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
|
this.btnClose.TabIndex = 4;
|
|
this.btnClose.Text = "Закрыть";
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// FormManageStores
|
|
//
|
|
this.AcceptButton = this.btnAddStore; // Enter in groupbox adds store
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnClose; // Esc closes form
|
|
this.ClientSize = new System.Drawing.Size(534, 267); // Adjust size as needed
|
|
this.Controls.Add(this.btnClose);
|
|
this.Controls.Add(this.btnDeleteStore);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.lstStores);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; // Prevent resizing
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FormManageStores";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; // Center over Form1
|
|
this.Text = "Управление магазинами Ozon";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ListBox lstStores;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Button btnAddStore;
|
|
private System.Windows.Forms.TextBox txtEditApiKey;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox txtEditClientId;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtStoreName;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button btnDeleteStore;
|
|
private System.Windows.Forms.Button btnClose;
|
|
}
|
|
}
|