161 lines
6.7 KiB
C#
161 lines
6.7 KiB
C#
namespace samusev_42
|
|
{
|
|
partial class MainCardForm
|
|
{
|
|
/// <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()
|
|
{
|
|
components = new System.ComponentModel.Container();
|
|
flowLayoutPanel1 = new FlowLayoutPanel();
|
|
SaveCardButton = new Button();
|
|
CardEditButton = new Button();
|
|
CardDeleteButton = new Button();
|
|
CardAddButton = new Button();
|
|
productBindingSource = new BindingSource(components);
|
|
categorySource = new BindingSource(components);
|
|
manufacturerSource = new BindingSource(components);
|
|
product_nameSource = new BindingSource(components);
|
|
SupplierSource = new BindingSource(components);
|
|
((System.ComponentModel.ISupportInitialize)productBindingSource).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)categorySource).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)manufacturerSource).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)product_nameSource).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)SupplierSource).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
flowLayoutPanel1.AutoScroll = true;
|
|
flowLayoutPanel1.FlowDirection = FlowDirection.TopDown;
|
|
flowLayoutPanel1.Location = new Point(33, 106);
|
|
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
flowLayoutPanel1.Size = new Size(726, 608);
|
|
flowLayoutPanel1.TabIndex = 0;
|
|
flowLayoutPanel1.WrapContents = false;
|
|
//
|
|
// SaveCardButton
|
|
//
|
|
SaveCardButton.BackColor = Color.Cornsilk;
|
|
SaveCardButton.Font = new Font("Segoe UI", 12F, FontStyle.Bold);
|
|
SaveCardButton.Location = new Point(69, 25);
|
|
SaveCardButton.Name = "SaveCardButton";
|
|
SaveCardButton.Size = new Size(114, 36);
|
|
SaveCardButton.TabIndex = 1;
|
|
SaveCardButton.Text = "Сохранить";
|
|
SaveCardButton.UseVisualStyleBackColor = false;
|
|
SaveCardButton.Click += SaveCardButton_Click;
|
|
//
|
|
// CardEditButton
|
|
//
|
|
CardEditButton.BackColor = Color.Cornsilk;
|
|
CardEditButton.Font = new Font("Segoe UI", 12F, FontStyle.Bold);
|
|
CardEditButton.Location = new Point(242, 25);
|
|
CardEditButton.Name = "CardEditButton";
|
|
CardEditButton.Size = new Size(143, 36);
|
|
CardEditButton.TabIndex = 2;
|
|
CardEditButton.Text = "Редактировать";
|
|
CardEditButton.UseVisualStyleBackColor = false;
|
|
CardEditButton.Click += CardEditButton_Click_1;
|
|
//
|
|
// CardDeleteButton
|
|
//
|
|
CardDeleteButton.BackColor = Color.Cornsilk;
|
|
CardDeleteButton.Font = new Font("Segoe UI", 12F, FontStyle.Bold);
|
|
CardDeleteButton.Location = new Point(437, 25);
|
|
CardDeleteButton.Name = "CardDeleteButton";
|
|
CardDeleteButton.Size = new Size(119, 36);
|
|
CardDeleteButton.TabIndex = 3;
|
|
CardDeleteButton.Text = "Удалить";
|
|
CardDeleteButton.UseVisualStyleBackColor = false;
|
|
CardDeleteButton.Click += CardDeleteButton_Click_1;
|
|
//
|
|
// CardAddButton
|
|
//
|
|
CardAddButton.BackColor = Color.Cornsilk;
|
|
CardAddButton.Font = new Font("Segoe UI", 12F, FontStyle.Bold);
|
|
CardAddButton.Location = new Point(603, 25);
|
|
CardAddButton.Name = "CardAddButton";
|
|
CardAddButton.Size = new Size(123, 36);
|
|
CardAddButton.TabIndex = 4;
|
|
CardAddButton.Text = "Добавить";
|
|
CardAddButton.UseVisualStyleBackColor = false;
|
|
CardAddButton.Click += CardAddButton_Click_1;
|
|
//
|
|
// productBindingSource
|
|
//
|
|
productBindingSource.DataSource = typeof(Product);
|
|
//
|
|
// categorySource
|
|
//
|
|
categorySource.DataSource = typeof(Category);
|
|
//
|
|
// manufacturerSource
|
|
//
|
|
manufacturerSource.DataSource = typeof(Manufacturer);
|
|
//
|
|
// product_nameSource
|
|
//
|
|
product_nameSource.DataSource = typeof(ProductName);
|
|
//
|
|
// SupplierSource
|
|
//
|
|
SupplierSource.DataSource = typeof(Supplier);
|
|
//
|
|
// MainCardForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.MistyRose;
|
|
ClientSize = new Size(800, 748);
|
|
Controls.Add(CardAddButton);
|
|
Controls.Add(CardDeleteButton);
|
|
Controls.Add(CardEditButton);
|
|
Controls.Add(SaveCardButton);
|
|
Controls.Add(flowLayoutPanel1);
|
|
Name = "MainCardForm";
|
|
Text = "Форма-Карточка";
|
|
((System.ComponentModel.ISupportInitialize)productBindingSource).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)categorySource).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)manufacturerSource).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)product_nameSource).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)SupplierSource).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private FlowLayoutPanel flowLayoutPanel1;
|
|
public BindingSource productBindingSource;
|
|
public Button SaveCardButton;
|
|
public Button CardEditButton;
|
|
public Button CardDeleteButton;
|
|
public Button CardAddButton;
|
|
public BindingSource categorySource;
|
|
public BindingSource manufacturerSource;
|
|
public BindingSource product_nameSource;
|
|
public BindingSource SupplierSource;
|
|
}
|
|
} |