namespace samusev_42
{
partial class EditForm
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
///
/// Clean up any resources being used.
///
/// true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
productBindingSource = new BindingSource(components);
textBox2 = new TextBox();
textBox4 = new TextBox();
textBox5 = new TextBox();
textBox8 = new TextBox();
textBox10 = new TextBox();
label2 = new Label();
label3 = new Label();
label4 = new Label();
label5 = new Label();
label6 = new Label();
label7 = new Label();
label8 = new Label();
label9 = new Label();
label10 = new Label();
comboBox1 = new ComboBox();
productNameBindingSource = new BindingSource(components);
comboBox2 = new ComboBox();
supplierBindingSource = new BindingSource(components);
comboBox3 = new ComboBox();
manufacturerBindingSource = new BindingSource(components);
comboBox4 = new ComboBox();
categoryBindingSource = new BindingSource(components);
SaveEditButton = new Button();
((System.ComponentModel.ISupportInitialize)productBindingSource).BeginInit();
((System.ComponentModel.ISupportInitialize)productNameBindingSource).BeginInit();
((System.ComponentModel.ISupportInitialize)supplierBindingSource).BeginInit();
((System.ComponentModel.ISupportInitialize)manufacturerBindingSource).BeginInit();
((System.ComponentModel.ISupportInitialize)categoryBindingSource).BeginInit();
SuspendLayout();
//
// productBindingSource
//
productBindingSource.DataSource = typeof(Product);
//
// textBox2
//
textBox2.DataBindings.Add(new Binding("DataContext", productBindingSource, "Article", true));
textBox2.DataBindings.Add(new Binding("Text", productBindingSource, "Article", true, DataSourceUpdateMode.OnPropertyChanged));
textBox2.Location = new Point(152, 32);
textBox2.Name = "textBox2";
textBox2.Size = new Size(148, 23);
textBox2.TabIndex = 1;
//
// textBox4
//
textBox4.DataBindings.Add(new Binding("DataContext", productBindingSource, "Count", true));
textBox4.DataBindings.Add(new Binding("Text", productBindingSource, "Count", true, DataSourceUpdateMode.OnPropertyChanged));
textBox4.Location = new Point(152, 119);
textBox4.Name = "textBox4";
textBox4.Size = new Size(148, 23);
textBox4.TabIndex = 3;
//
// textBox5
//
textBox5.DataBindings.Add(new Binding("DataContext", productBindingSource, "Price", true));
textBox5.DataBindings.Add(new Binding("Text", productBindingSource, "Price", true, DataSourceUpdateMode.OnPropertyChanged));
textBox5.Location = new Point(152, 162);
textBox5.Name = "textBox5";
textBox5.Size = new Size(148, 23);
textBox5.TabIndex = 4;
//
// textBox8
//
textBox8.DataBindings.Add(new Binding("DataContext", productBindingSource, "Discount", true));
textBox8.DataBindings.Add(new Binding("Text", productBindingSource, "Discount", true, DataSourceUpdateMode.OnPropertyChanged));
textBox8.Location = new Point(152, 300);
textBox8.Name = "textBox8";
textBox8.Size = new Size(148, 23);
textBox8.TabIndex = 7;
//
// textBox10
//
textBox10.DataBindings.Add(new Binding("DataContext", productBindingSource, "Description", true));
textBox10.DataBindings.Add(new Binding("Text", productBindingSource, "Description", true, DataSourceUpdateMode.OnPropertyChanged));
textBox10.Location = new Point(152, 389);
textBox10.Name = "textBox10";
textBox10.Size = new Size(148, 23);
textBox10.TabIndex = 9;
//
// label2
//
label2.AutoSize = true;
label2.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label2.Location = new Point(44, 32);
label2.Name = "label2";
label2.Size = new Size(80, 20);
label2.TabIndex = 12;
label2.Text = "Артикул:";
//
// label3
//
label3.AutoSize = true;
label3.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label3.Location = new Point(41, 75);
label3.Name = "label3";
label3.Size = new Size(86, 20);
label3.TabIndex = 13;
label3.Text = "Название:";
//
// label4
//
label4.AutoSize = true;
label4.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label4.Location = new Point(50, 118);
label4.Name = "label4";
label4.Size = new Size(69, 20);
label4.TabIndex = 14;
label4.Text = "Кол-во\u001e:";
//
// label5
//
label5.AutoSize = true;
label5.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label5.Location = new Point(50, 161);
label5.Name = "label5";
label5.Size = new Size(52, 20);
label5.TabIndex = 15;
label5.Text = "Цена:";
//
// label6
//
label6.AutoSize = true;
label6.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label6.Location = new Point(38, 211);
label6.Name = "label6";
label6.Size = new Size(100, 20);
label6.TabIndex = 16;
label6.Text = "Поставщик:";
//
// label7
//
label7.AutoSize = true;
label7.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label7.Location = new Point(12, 252);
label7.Name = "label7";
label7.Size = new Size(137, 20);
label7.TabIndex = 17;
label7.Text = "Производитель:";
label7.Click += label7_Click;
//
// label8
//
label8.AutoSize = true;
label8.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label8.Location = new Point(41, 300);
label8.Name = "label8";
label8.Size = new Size(69, 20);
label8.TabIndex = 18;
label8.Text = "Скидка:";
//
// label9
//
label9.AutoSize = true;
label9.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label9.Location = new Point(31, 348);
label9.Name = "label9";
label9.Size = new Size(92, 20);
label9.TabIndex = 19;
label9.Text = "Категория:";
//
// label10
//
label10.AutoSize = true;
label10.Font = new Font("Segoe UI Black", 11.25F, FontStyle.Bold);
label10.Location = new Point(37, 389);
label10.Name = "label10";
label10.Size = new Size(86, 20);
label10.TabIndex = 20;
label10.Text = "Описание:";
//
// comboBox1
//
comboBox1.DataBindings.Add(new Binding("SelectedValue", productBindingSource, "IdProductName", true, DataSourceUpdateMode.OnPropertyChanged));
comboBox1.DataSource = productNameBindingSource;
comboBox1.DisplayMember = "ProductName1";
comboBox1.FormattingEnabled = true;
comboBox1.Location = new Point(152, 75);
comboBox1.Name = "comboBox1";
comboBox1.Size = new Size(148, 23);
comboBox1.TabIndex = 23;
comboBox1.ValueMember = "IdProductName";
//
// productNameBindingSource
//
productNameBindingSource.DataSource = typeof(ProductName);
//
// comboBox2
//
comboBox2.DataBindings.Add(new Binding("SelectedValue", productBindingSource, "IdSupplier", true));
comboBox2.DataSource = supplierBindingSource;
comboBox2.DisplayMember = "SupplierName";
comboBox2.FormattingEnabled = true;
comboBox2.Location = new Point(152, 208);
comboBox2.Name = "comboBox2";
comboBox2.Size = new Size(148, 23);
comboBox2.TabIndex = 24;
comboBox2.ValueMember = "IdSupplier";
//
// supplierBindingSource
//
supplierBindingSource.DataSource = typeof(Supplier);
//
// comboBox3
//
comboBox3.DataBindings.Add(new Binding("SelectedValue", productBindingSource, "IdManufacturer", true));
comboBox3.DataSource = manufacturerBindingSource;
comboBox3.DisplayMember = "ManufacturerName";
comboBox3.FormattingEnabled = true;
comboBox3.Location = new Point(152, 252);
comboBox3.Name = "comboBox3";
comboBox3.Size = new Size(148, 23);
comboBox3.TabIndex = 25;
comboBox3.ValueMember = "IdManufacturer";
//
// manufacturerBindingSource
//
manufacturerBindingSource.DataSource = typeof(Manufacturer);
//
// comboBox4
//
comboBox4.DataBindings.Add(new Binding("SelectedValue", productBindingSource, "IdCategory", true));
comboBox4.DataSource = categoryBindingSource;
comboBox4.DisplayMember = "CategoryName";
comboBox4.FormattingEnabled = true;
comboBox4.Location = new Point(152, 345);
comboBox4.Name = "comboBox4";
comboBox4.Size = new Size(148, 23);
comboBox4.TabIndex = 26;
comboBox4.ValueMember = "IdCategory";
//
// categoryBindingSource
//
categoryBindingSource.DataSource = typeof(Category);
//
// SaveEditButton
//
SaveEditButton.BackColor = Color.MistyRose;
SaveEditButton.DialogResult = DialogResult.OK;
SaveEditButton.Font = new Font("Segoe UI Black", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 204);
SaveEditButton.Location = new Point(85, 445);
SaveEditButton.Name = "SaveEditButton";
SaveEditButton.Size = new Size(160, 46);
SaveEditButton.TabIndex = 27;
SaveEditButton.Text = "Сохранить";
SaveEditButton.UseVisualStyleBackColor = false;
SaveEditButton.Click += SaveEditButton_Click;
//
// EditForm
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = Color.PeachPuff;
ClientSize = new Size(324, 503);
Controls.Add(SaveEditButton);
Controls.Add(comboBox4);
Controls.Add(comboBox3);
Controls.Add(comboBox2);
Controls.Add(comboBox1);
Controls.Add(label10);
Controls.Add(label9);
Controls.Add(label8);
Controls.Add(label7);
Controls.Add(label6);
Controls.Add(label5);
Controls.Add(label4);
Controls.Add(label3);
Controls.Add(label2);
Controls.Add(textBox10);
Controls.Add(textBox8);
Controls.Add(textBox5);
Controls.Add(textBox4);
Controls.Add(textBox2);
Name = "EditForm";
Text = "EditForm";
Load += EditForm_Load;
((System.ComponentModel.ISupportInitialize)productBindingSource).EndInit();
((System.ComponentModel.ISupportInitialize)productNameBindingSource).EndInit();
((System.ComponentModel.ISupportInitialize)supplierBindingSource).EndInit();
((System.ComponentModel.ISupportInitialize)manufacturerBindingSource).EndInit();
((System.ComponentModel.ISupportInitialize)categoryBindingSource).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private Label label2;
private Label label3;
private Label label4;
private Label label5;
private Label label6;
private Label label7;
private Label label8;
private Label label9;
private Label label10;
public TextBox textBox2;
public TextBox textBox4;
public TextBox textBox5;
public TextBox textBox8;
public TextBox textBox10;
public BindingSource productBindingSource;
public ComboBox comboBox1;
public ComboBox comboBox2;
public ComboBox comboBox3;
public ComboBox comboBox4;
public BindingSource productNameBindingSource;
public BindingSource supplierBindingSource;
public BindingSource manufacturerBindingSource;
public BindingSource categoryBindingSource;
public Button SaveEditButton;
}
}