/
DataTimeModule
/
DateTime
Обзор
Документация
Войти
/
DataTimeModule
/
DateTime
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
SQLDataDriver/ProductCard.Designer.cs
118 строк
4 KB
Reeltell
upload
27 май 2026, 01:50
27 май 2026, 01:50
f282598
Код
Авторство
О чём код?
namespace SQLDataDriver { partial class ProductCard { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { photoBox = new PictureBox(); infoLabel = new Label(); priceLabel = new Label(); discountPriceLabel = new Label(); discountLabel = new Label(); editButton = new Button(); deleteButton = new Button(); ((System.ComponentModel.ISupportInitialize)photoBox).BeginInit(); SuspendLayout(); // // photoBox // photoBox.BorderStyle = BorderStyle.FixedSingle; photoBox.Location = new Point(12, 12); photoBox.Name = "photoBox"; photoBox.Size = new Size(170, 130); photoBox.SizeMode = PictureBoxSizeMode.Zoom; photoBox.TabIndex = 0; photoBox.TabStop = false; // // infoLabel // infoLabel.Location = new Point(195, 12); infoLabel.Name = "infoLabel"; infoLabel.Size = new Size(520, 88); infoLabel.TabIndex = 1; // // priceLabel // priceLabel.AutoSize = true; priceLabel.Location = new Point(195, 104); priceLabel.Name = "priceLabel"; priceLabel.Size = new Size(43, 20); priceLabel.TabIndex = 2; priceLabel.Text = "Цена"; // // discountPriceLabel // discountPriceLabel.AutoSize = true; discountPriceLabel.Location = new Point(310, 104); discountPriceLabel.Name = "discountPriceLabel"; discountPriceLabel.Size = new Size(0, 20); discountPriceLabel.TabIndex = 3; // // discountLabel // discountLabel.BorderStyle = BorderStyle.FixedSingle; discountLabel.Font = new Font("Segoe UI", 11F, FontStyle.Bold); discountLabel.Location = new Point(730, 12); discountLabel.Name = "discountLabel"; discountLabel.Size = new Size(130, 130); discountLabel.TabIndex = 4; discountLabel.TextAlign = ContentAlignment.MiddleCenter; // // editButton // editButton.Location = new Point(730, 112); editButton.Name = "editButton"; editButton.Size = new Size(62, 30); editButton.TabIndex = 5; editButton.Text = "Изм."; editButton.UseVisualStyleBackColor = true; editButton.Click += editButton_Click; // // deleteButton // deleteButton.Location = new Point(798, 112); deleteButton.Name = "deleteButton"; deleteButton.Size = new Size(62, 30); deleteButton.TabIndex = 6; deleteButton.Text = "Удал."; deleteButton.UseVisualStyleBackColor = true; deleteButton.Click += deleteButton_Click; // // ProductCard // BorderStyle = BorderStyle.FixedSingle; Controls.Add(deleteButton); Controls.Add(editButton); Controls.Add(discountLabel); Controls.Add(discountPriceLabel); Controls.Add(priceLabel); Controls.Add(infoLabel); Controls.Add(photoBox); Margin = new Padding(3, 3, 3, 10); Name = "ProductCard"; Size = new Size(880, 155); ((System.ComponentModel.ISupportInitialize)photoBox).EndInit(); ResumeLayout(false); PerformLayout(); } private PictureBox photoBox; private Label infoLabel; private Label priceLabel; private Label discountPriceLabel; private Label discountLabel; private Button editButton; private Button deleteButton; } }