/
DaNN26
/
SQLProvider
Обзор
Документация
Войти
/
DaNN26
/
SQLProvider
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
OrderCardControl.Designer.cs
66 строк
2 KB
DaNN
Добавьте файлы проекта.
27 май 2026, 12:50
27 май 2026, 12:50
4fe37b9
Код
Авторство
О чём код?
using System.Drawing; using System.Windows.Forms; namespace Demo { internal partial class OrderCardControl { private System.ComponentModel.IContainer components = null; private Panel infoPanel; private Label infoLabel; private Panel datePanel; private Label deliveryDateLabel; protected override void Dispose(bool disposing) { if (disposing && components != null) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { this.infoPanel = new Panel(); this.infoLabel = new Label(); this.datePanel = new Panel(); this.deliveryDateLabel = new Label(); this.infoPanel.SuspendLayout(); this.datePanel.SuspendLayout(); this.SuspendLayout(); this.BackColor = Color.White; this.BorderStyle = BorderStyle.FixedSingle; this.Font = new Font("Times New Roman", 11F); this.Margin = new Padding(0, 0, 0, 10); this.Size = new Size(760, 126); this.infoPanel.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.infoPanel.BorderStyle = BorderStyle.FixedSingle; this.infoPanel.Location = new Point(15, 15); this.infoPanel.Size = new Size(550, 90); this.infoPanel.Controls.Add(this.infoLabel); this.infoLabel.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.infoLabel.Location = new Point(10, 8); this.infoLabel.Size = new Size(530, 74); this.datePanel.Anchor = AnchorStyles.Top | AnchorStyles.Right; this.datePanel.BorderStyle = BorderStyle.FixedSingle; this.datePanel.Location = new Point(580, 15); this.datePanel.Size = new Size(150, 90); this.datePanel.Controls.Add(this.deliveryDateLabel); this.deliveryDateLabel.Dock = DockStyle.Fill; this.deliveryDateLabel.TextAlign = ContentAlignment.MiddleCenter; this.Controls.Add(this.infoPanel); this.Controls.Add(this.datePanel); this.infoPanel.ResumeLayout(false); this.datePanel.ResumeLayout(false); this.ResumeLayout(false); } } }