233 lines
14 KiB
C#
233 lines
14 KiB
C#
using MaterialSkin.Controls; // Добавлено
|
|
|
|
namespace OzonInternalLabelPrinter // Замените на ваше пространство имен
|
|
{
|
|
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 MaterialSkin.Controls.MaterialListBox(); // Изменено на MaterialListBox
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.btnAddStore = new MaterialSkin.Controls.MaterialButton(); // Изменено
|
|
this.txtEditApiKey = new MaterialSkin.Controls.MaterialTextBox(); // Изменено
|
|
this.txtEditClientId = new MaterialSkin.Controls.MaterialTextBox(); // Изменено
|
|
this.txtStoreName = new MaterialSkin.Controls.MaterialTextBox(); // Изменено
|
|
this.btnDeleteStore = new MaterialSkin.Controls.MaterialButton(); // Изменено
|
|
this.btnClose = new MaterialSkin.Controls.MaterialButton(); // Изменено
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// lstStores
|
|
//
|
|
this.lstStores.BackColor = System.Drawing.Color.White;
|
|
this.lstStores.BorderColor = System.Drawing.Color.LightGray;
|
|
this.lstStores.Depth = 0;
|
|
this.lstStores.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
this.lstStores.Location = new System.Drawing.Point(17, 77); // Сдвинуто вниз под Material Bar
|
|
this.lstStores.MouseState = MaterialSkin.MouseState.HOVER;
|
|
this.lstStores.Name = "lstStores";
|
|
this.lstStores.SelectedIndex = -1;
|
|
this.lstStores.SelectedItem = null;
|
|
this.lstStores.Size = new System.Drawing.Size(220, 231); // Примерный размер
|
|
this.lstStores.TabIndex = 0;
|
|
// Можно добавить обработчик для отображения деталей при выборе
|
|
// this.lstStores.SelectedIndexChanged += new MaterialSkin.Controls.MaterialListBox.SelectedIndexChangedEventHandler(this.lstStores_SelectedIndexChanged);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.btnAddStore);
|
|
this.groupBox1.Controls.Add(this.txtEditApiKey);
|
|
this.groupBox1.Controls.Add(this.txtEditClientId);
|
|
this.groupBox1.Controls.Add(this.txtStoreName);
|
|
this.groupBox1.Location = new System.Drawing.Point(258, 77);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(313, 231); // Примерный размер
|
|
this.groupBox1.TabIndex = 2;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Добавить/Редактировать магазин";
|
|
//
|
|
// btnAddStore
|
|
//
|
|
this.btnAddStore.AutoSize = false;
|
|
this.btnAddStore.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.btnAddStore.Density = MaterialSkin.Controls.MaterialButton.MaterialButtonDensity.Default;
|
|
this.btnAddStore.Depth = 0;
|
|
this.btnAddStore.HighEmphasis = true;
|
|
this.btnAddStore.Icon = null;
|
|
this.btnAddStore.Location = new System.Drawing.Point(188, 186);
|
|
this.btnAddStore.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
|
this.btnAddStore.MouseState = MaterialSkin.MouseState.HOVER;
|
|
this.btnAddStore.Name = "btnAddStore";
|
|
this.btnAddStore.NoAccentTextColor = System.Drawing.Color.Empty;
|
|
this.btnAddStore.Size = new System.Drawing.Size(115, 36);
|
|
this.btnAddStore.TabIndex = 3; // Последний таб в группе
|
|
this.btnAddStore.Text = "Добавить";
|
|
this.btnAddStore.Type = MaterialSkin.Controls.MaterialButton.MaterialButtonType.Contained;
|
|
this.btnAddStore.UseAccentColor = false;
|
|
this.btnAddStore.UseVisualStyleBackColor = true;
|
|
this.btnAddStore.Click += new System.EventHandler(this.btnAddStore_Click);
|
|
//
|
|
// txtEditApiKey
|
|
//
|
|
this.txtEditApiKey.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtEditApiKey.AnimateReadOnly = false;
|
|
this.txtEditApiKey.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.txtEditApiKey.Depth = 0;
|
|
this.txtEditApiKey.Font = new System.Drawing.Font("Roboto", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
this.txtEditApiKey.Hint = "Api-Key";
|
|
this.txtEditApiKey.LeadingIcon = null;
|
|
this.txtEditApiKey.Location = new System.Drawing.Point(15, 130);
|
|
this.txtEditApiKey.MaxLength = 200; // Увеличил
|
|
this.txtEditApiKey.MouseState = MaterialSkin.MouseState.OUT;
|
|
this.txtEditApiKey.Multiline = false;
|
|
this.txtEditApiKey.Name = "txtEditApiKey";
|
|
this.txtEditApiKey.Password = true; // Маска
|
|
this.txtEditApiKey.Size = new System.Drawing.Size(288, 50);
|
|
this.txtEditApiKey.TabIndex = 2;
|
|
this.txtEditApiKey.Text = "";
|
|
this.txtEditApiKey.TrailingIcon = null;
|
|
//
|
|
// txtEditClientId
|
|
//
|
|
this.txtEditClientId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtEditClientId.AnimateReadOnly = false;
|
|
this.txtEditClientId.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.txtEditClientId.Depth = 0;
|
|
this.txtEditClientId.Font = new System.Drawing.Font("Roboto", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
this.txtEditClientId.Hint = "Client ID";
|
|
this.txtEditClientId.LeadingIcon = null;
|
|
this.txtEditClientId.Location = new System.Drawing.Point(15, 78);
|
|
this.txtEditClientId.MaxLength = 50;
|
|
this.txtEditClientId.MouseState = MaterialSkin.MouseState.OUT;
|
|
this.txtEditClientId.Multiline = false;
|
|
this.txtEditClientId.Name = "txtEditClientId";
|
|
this.txtEditClientId.Size = new System.Drawing.Size(288, 50);
|
|
this.txtEditClientId.TabIndex = 1;
|
|
this.txtEditClientId.Text = "";
|
|
this.txtEditClientId.TrailingIcon = null;
|
|
//
|
|
// txtStoreName
|
|
//
|
|
this.txtStoreName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtStoreName.AnimateReadOnly = false;
|
|
this.txtStoreName.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.txtStoreName.Depth = 0;
|
|
this.txtStoreName.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
this.txtStoreName.Hint = "Название магазина";
|
|
this.txtStoreName.LeadingIcon = null;
|
|
this.txtStoreName.Location = new System.Drawing.Point(15, 26);
|
|
this.txtStoreName.MaxLength = 50;
|
|
this.txtStoreName.MouseState = MaterialSkin.MouseState.OUT;
|
|
this.txtStoreName.Multiline = false;
|
|
this.txtStoreName.Name = "txtStoreName";
|
|
this.txtStoreName.Size = new System.Drawing.Size(288, 50);
|
|
this.txtStoreName.TabIndex = 0;
|
|
this.txtStoreName.Text = "";
|
|
this.txtStoreName.TrailingIcon = null;
|
|
//
|
|
// btnDeleteStore
|
|
//
|
|
this.btnDeleteStore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btnDeleteStore.AutoSize = false;
|
|
this.btnDeleteStore.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.btnDeleteStore.Density = MaterialSkin.Controls.MaterialButton.MaterialButtonDensity.Default;
|
|
this.btnDeleteStore.Depth = 0;
|
|
this.btnDeleteStore.HighEmphasis = false; // Менее важная
|
|
this.btnDeleteStore.Icon = null; // Можно добавить иконку корзины
|
|
this.btnDeleteStore.Location = new System.Drawing.Point(17, 317);
|
|
this.btnDeleteStore.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
|
this.btnDeleteStore.MouseState = MaterialSkin.MouseState.HOVER;
|
|
this.btnDeleteStore.Name = "btnDeleteStore";
|
|
this.btnDeleteStore.NoAccentTextColor = System.Drawing.Color.Empty;
|
|
this.btnDeleteStore.Size = new System.Drawing.Size(220, 36);
|
|
this.btnDeleteStore.TabIndex = 3;
|
|
this.btnDeleteStore.Text = "Удалить выбранный";
|
|
this.btnDeleteStore.Type = MaterialSkin.Controls.MaterialButton.MaterialButtonType.Outlined; // Другой стиль
|
|
this.btnDeleteStore.UseAccentColor = false;
|
|
this.btnDeleteStore.UseVisualStyleBackColor = true;
|
|
this.btnDeleteStore.Click += new System.EventHandler(this.btnDeleteStore_Click);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClose.AutoSize = false;
|
|
this.btnClose.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.btnClose.Density = MaterialSkin.Controls.MaterialButton.MaterialButtonDensity.Default;
|
|
this.btnClose.Depth = 0;
|
|
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; // Esc
|
|
this.btnClose.HighEmphasis = true;
|
|
this.btnClose.Icon = null;
|
|
this.btnClose.Location = new System.Drawing.Point(471, 317);
|
|
this.btnClose.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
|
this.btnClose.MouseState = MaterialSkin.MouseState.HOVER;
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.NoAccentTextColor = System.Drawing.Color.Empty;
|
|
this.btnClose.Size = new System.Drawing.Size(100, 36);
|
|
this.btnClose.TabIndex = 4;
|
|
this.btnClose.Text = "Закрыть";
|
|
this.btnClose.Type = MaterialSkin.Controls.MaterialButton.MaterialButtonType.Contained;
|
|
this.btnClose.UseAccentColor = false;
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// FormManageStores
|
|
//
|
|
this.AcceptButton = this.btnAddStore;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnClose;
|
|
this.ClientSize = new System.Drawing.Size(588, 368); // Размер окна
|
|
this.Controls.Add(this.btnClose);
|
|
this.Controls.Add(this.btnDeleteStore);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.lstStores);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FormManageStores";
|
|
this.Padding = new System.Windows.Forms.Padding(3, 64, 3, 3); // Отступ под Material Bar
|
|
this.Sizable = false; // Запрет изменения размера
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Управление магазинами Ozon";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
private MaterialSkin.Controls.MaterialListBox lstStores; // Изменено
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private MaterialSkin.Controls.MaterialButton btnAddStore; // Изменено
|
|
private MaterialSkin.Controls.MaterialTextBox txtEditApiKey; // Изменено
|
|
private MaterialSkin.Controls.MaterialTextBox txtEditClientId; // Изменено
|
|
private MaterialSkin.Controls.MaterialTextBox txtStoreName; // Изменено
|
|
private MaterialSkin.Controls.MaterialButton btnDeleteStore; // Изменено
|
|
private MaterialSkin.Controls.MaterialButton btnClose; // Изменено
|
|
}
|
|
} |