2025-05-01 22:46:44 +07:00
using MaterialSkin.Controls ; // Добавлено
namespace OzonInternalLabelPrinter // Замените на ваше пространство имен
2025-04-21 21:14:48 +07:00
{
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 ( )
{
2025-05-01 22:46:44 +07:00
this . lstStores = new MaterialSkin . Controls . MaterialListBox ( ) ; // Изменено на MaterialListBox
2025-04-21 21:14:48 +07:00
this . groupBox1 = new System . Windows . Forms . GroupBox ( ) ;
2025-05-01 22:46:44 +07:00
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 ( ) ; // Изменено
2025-04-21 21:14:48 +07:00
this . groupBox1 . SuspendLayout ( ) ;
this . SuspendLayout ( ) ;
//
// lstStores
//
2025-05-01 22:46:44 +07:00
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 ;
2025-04-21 21:14:48 +07:00
this . lstStores . Name = "lstStores" ;
2025-05-01 22:46:44 +07:00
this . lstStores . SelectedIndex = - 1 ;
this . lstStores . SelectedItem = null ;
this . lstStores . Size = new System . Drawing . Size ( 220 , 231 ) ; // Примерный размер
2025-04-21 21:14:48 +07:00
this . lstStores . TabIndex = 0 ;
2025-05-01 22:46:44 +07:00
// Можно добавить обработчик для отображения деталей при выборе
// this.lstStores.SelectedIndexChanged += new MaterialSkin.Controls.MaterialListBox.SelectedIndexChangedEventHandler(this.lstStores_SelectedIndexChanged);
2025-04-21 21:14:48 +07:00
//
// 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 ) ;
2025-05-01 22:46:44 +07:00
this . groupBox1 . Location = new System . Drawing . Point ( 258 , 77 ) ;
2025-04-21 21:14:48 +07:00
this . groupBox1 . Name = "groupBox1" ;
2025-05-01 22:46:44 +07:00
this . groupBox1 . Size = new System . Drawing . Size ( 313 , 231 ) ; // Примерный размер
2025-04-21 21:14:48 +07:00
this . groupBox1 . TabIndex = 2 ;
this . groupBox1 . TabStop = false ;
2025-05-01 22:46:44 +07:00
this . groupBox1 . Text = "Добавить/Редактировать магазин" ;
2025-04-21 21:14:48 +07:00
//
// btnAddStore
//
2025-05-01 22:46:44 +07:00
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 ;
2025-04-21 21:14:48 +07:00
this . btnAddStore . Name = "btnAddStore" ;
2025-05-01 22:46:44 +07:00
this . btnAddStore . NoAccentTextColor = System . Drawing . Color . Empty ;
this . btnAddStore . Size = new System . Drawing . Size ( 115 , 36 ) ;
this . btnAddStore . TabIndex = 3 ; // Последний таб в группе
2025-04-21 21:14:48 +07:00
this . btnAddStore . Text = "Добавить" ;
2025-05-01 22:46:44 +07:00
this . btnAddStore . Type = MaterialSkin . Controls . MaterialButton . MaterialButtonType . Contained ;
this . btnAddStore . UseAccentColor = false ;
2025-04-21 21:14:48 +07:00
this . btnAddStore . UseVisualStyleBackColor = true ;
this . btnAddStore . Click + = new System . EventHandler ( this . btnAddStore_Click ) ;
//
// txtEditApiKey
//
2025-05-01 22:46:44 +07:00
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 ;
2025-04-21 21:14:48 +07:00
this . txtEditApiKey . Name = "txtEditApiKey" ;
2025-05-01 22:46:44 +07:00
this . txtEditApiKey . Password = true ; // Маска
this . txtEditApiKey . Size = new System . Drawing . Size ( 288 , 50 ) ;
this . txtEditApiKey . TabIndex = 2 ;
this . txtEditApiKey . Text = "" ;
this . txtEditApiKey . TrailingIcon = null ;
2025-04-21 21:14:48 +07:00
//
// txtEditClientId
//
2025-05-01 22:46:44 +07:00
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 ;
2025-04-21 21:14:48 +07:00
this . txtEditClientId . Name = "txtEditClientId" ;
2025-05-01 22:46:44 +07:00
this . txtEditClientId . Size = new System . Drawing . Size ( 288 , 50 ) ;
this . txtEditClientId . TabIndex = 1 ;
this . txtEditClientId . Text = "" ;
this . txtEditClientId . TrailingIcon = null ;
2025-04-21 21:14:48 +07:00
//
// txtStoreName
//
2025-05-01 22:46:44 +07:00
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 ;
2025-04-21 21:14:48 +07:00
this . txtStoreName . Name = "txtStoreName" ;
2025-05-01 22:46:44 +07:00
this . txtStoreName . Size = new System . Drawing . Size ( 288 , 50 ) ;
this . txtStoreName . TabIndex = 0 ;
this . txtStoreName . Text = "" ;
this . txtStoreName . TrailingIcon = null ;
2025-04-21 21:14:48 +07:00
//
// btnDeleteStore
//
2025-05-01 22:46:44 +07:00
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 ;
2025-04-21 21:14:48 +07:00
this . btnDeleteStore . Name = "btnDeleteStore" ;
2025-05-01 22:46:44 +07:00
this . btnDeleteStore . NoAccentTextColor = System . Drawing . Color . Empty ;
this . btnDeleteStore . Size = new System . Drawing . Size ( 220 , 36 ) ;
2025-04-21 21:14:48 +07:00
this . btnDeleteStore . TabIndex = 3 ;
this . btnDeleteStore . Text = "Удалить выбранный" ;
2025-05-01 22:46:44 +07:00
this . btnDeleteStore . Type = MaterialSkin . Controls . MaterialButton . MaterialButtonType . Outlined ; // Другой стиль
this . btnDeleteStore . UseAccentColor = false ;
2025-04-21 21:14:48 +07:00
this . btnDeleteStore . UseVisualStyleBackColor = true ;
this . btnDeleteStore . Click + = new System . EventHandler ( this . btnDeleteStore_Click ) ;
//
// btnClose
//
2025-05-01 22:46:44 +07:00
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 ;
2025-04-21 21:14:48 +07:00
this . btnClose . Name = "btnClose" ;
2025-05-01 22:46:44 +07:00
this . btnClose . NoAccentTextColor = System . Drawing . Color . Empty ;
this . btnClose . Size = new System . Drawing . Size ( 100 , 36 ) ;
2025-04-21 21:14:48 +07:00
this . btnClose . TabIndex = 4 ;
this . btnClose . Text = "Закрыть" ;
2025-05-01 22:46:44 +07:00
this . btnClose . Type = MaterialSkin . Controls . MaterialButton . MaterialButtonType . Contained ;
this . btnClose . UseAccentColor = false ;
2025-04-21 21:14:48 +07:00
this . btnClose . UseVisualStyleBackColor = true ;
this . btnClose . Click + = new System . EventHandler ( this . btnClose_Click ) ;
//
// FormManageStores
//
2025-05-01 22:46:44 +07:00
this . AcceptButton = this . btnAddStore ;
2025-04-21 21:14:48 +07:00
this . AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 13F ) ;
this . AutoScaleMode = System . Windows . Forms . AutoScaleMode . Font ;
2025-05-01 22:46:44 +07:00
this . CancelButton = this . btnClose ;
this . ClientSize = new System . Drawing . Size ( 588 , 368 ) ; // Размер окна
2025-04-21 21:14:48 +07:00
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" ;
2025-05-01 22:46:44 +07:00
this . Padding = new System . Windows . Forms . Padding ( 3 , 64 , 3 , 3 ) ; // Отступ под Material Bar
this . Sizable = false ; // Запрет изменения размера
this . StartPosition = System . Windows . Forms . FormStartPosition . CenterParent ;
2025-04-21 21:14:48 +07:00
this . Text = "Управление магазинами Ozon" ;
this . groupBox1 . ResumeLayout ( false ) ;
this . ResumeLayout ( false ) ;
}
#endregion
2025-05-01 22:46:44 +07:00
private MaterialSkin . Controls . MaterialListBox lstStores ; // Изменено
2025-04-21 21:14:48 +07:00
private System . Windows . Forms . GroupBox groupBox1 ;
2025-05-01 22:46:44 +07:00
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 ; // Изменено
2025-04-21 21:14:48 +07:00
}
2025-05-01 22:46:44 +07:00
}