421 lines
17 KiB
C#
421 lines
17 KiB
C#
namespace DEM_Timofeev_prob
|
|
{
|
|
partial class Form_redact
|
|
{
|
|
/// <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();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_redact));
|
|
bindingSource_ed = new BindingSource(components);
|
|
bindingSource_tipe_product = new BindingSource(components);
|
|
bindingSource_manufactur = new BindingSource(components);
|
|
bindingSource_supplier = new BindingSource(components);
|
|
bindingSource_product = new BindingSource(components);
|
|
pictureBox_11 = new PictureBox();
|
|
label10 = new Label();
|
|
label9 = new Label();
|
|
label8 = new Label();
|
|
label7 = new Label();
|
|
label6 = new Label();
|
|
label5 = new Label();
|
|
label4 = new Label();
|
|
label3 = new Label();
|
|
label2 = new Label();
|
|
label1 = new Label();
|
|
comboBox4 = new ComboBox();
|
|
comboBox3 = new ComboBox();
|
|
comboBox2 = new ComboBox();
|
|
comboBox1 = new ComboBox();
|
|
textBox6 = new TextBox();
|
|
textBox5 = new TextBox();
|
|
textBox4 = new TextBox();
|
|
textBox3 = new TextBox();
|
|
textBox2 = new TextBox();
|
|
textBox1 = new TextBox();
|
|
button_photo_45 = new Button();
|
|
Save2 = new Button();
|
|
button3 = new Button();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_ed).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_tipe_product).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_manufactur).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_supplier).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_product).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox_11).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// bindingSource_ed
|
|
//
|
|
bindingSource_ed.DataSource = typeof(Models.Ed);
|
|
//
|
|
// bindingSource_tipe_product
|
|
//
|
|
bindingSource_tipe_product.DataSource = typeof(Models.TipeProduct);
|
|
//
|
|
// bindingSource_manufactur
|
|
//
|
|
bindingSource_manufactur.DataSource = typeof(Models.Manufact);
|
|
//
|
|
// bindingSource_supplier
|
|
//
|
|
bindingSource_supplier.DataSource = typeof(Models.Suplier);
|
|
//
|
|
// bindingSource_product
|
|
//
|
|
bindingSource_product.DataSource = typeof(Models.Product);
|
|
//
|
|
// pictureBox_11
|
|
//
|
|
pictureBox_11.BackColor = Color.FromArgb(133, 242, 189);
|
|
pictureBox_11.DataBindings.Add(new Binding("DataContext", bindingSource_product, "IdPhoto", true));
|
|
pictureBox_11.Location = new Point(301, 268);
|
|
pictureBox_11.Name = "pictureBox_11";
|
|
pictureBox_11.Size = new Size(187, 109);
|
|
pictureBox_11.SizeMode = PictureBoxSizeMode.Zoom;
|
|
pictureBox_11.TabIndex = 58;
|
|
pictureBox_11.TabStop = false;
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Location = new Point(283, 185);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(143, 20);
|
|
label10.TabIndex = 57;
|
|
label10.Text = "единица измереня";
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Location = new Point(283, 130);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(88, 20);
|
|
label9.TabIndex = 56;
|
|
label9.Text = "поставщик";
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(283, 76);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(121, 20);
|
|
label8.TabIndex = 55;
|
|
label8.Text = "производитель";
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new Point(283, 4);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(106, 20);
|
|
label7.TabIndex = 54;
|
|
label7.Text = "тип продукта";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(9, 300);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(58, 20);
|
|
label6.TabIndex = 53;
|
|
label6.Text = "кол-во";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(9, 245);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(42, 20);
|
|
label5.TabIndex = 52;
|
|
label5.Text = "цена";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(9, 182);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(58, 20);
|
|
label4.TabIndex = 51;
|
|
label4.Text = "скидка";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(9, 122);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(80, 20);
|
|
label3.TabIndex = 50;
|
|
label3.Text = "описание";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(12, 56);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(67, 20);
|
|
label2.TabIndex = 49;
|
|
label2.Text = "артикал";
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(15, 4);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(74, 20);
|
|
label1.TabIndex = 48;
|
|
label1.Text = "название";
|
|
//
|
|
// comboBox4
|
|
//
|
|
comboBox4.BackColor = Color.FromArgb(133, 242, 189);
|
|
comboBox4.DataBindings.Add(new Binding("SelectedValue", bindingSource_product, "IdEd", true));
|
|
comboBox4.DataSource = bindingSource_ed;
|
|
comboBox4.DisplayMember = "Name";
|
|
comboBox4.FormattingEnabled = true;
|
|
comboBox4.Location = new Point(283, 208);
|
|
comboBox4.Name = "comboBox4";
|
|
comboBox4.Size = new Size(162, 28);
|
|
comboBox4.TabIndex = 47;
|
|
comboBox4.ValueMember = "Ided";
|
|
//
|
|
// comboBox3
|
|
//
|
|
comboBox3.BackColor = Color.FromArgb(133, 242, 189);
|
|
comboBox3.DataBindings.Add(new Binding("SelectedValue", bindingSource_product, "IdTipeProduct", true));
|
|
comboBox3.DataSource = bindingSource_tipe_product;
|
|
comboBox3.DisplayMember = "Name";
|
|
comboBox3.FormattingEnabled = true;
|
|
comboBox3.Location = new Point(283, 31);
|
|
comboBox3.Name = "comboBox3";
|
|
comboBox3.Size = new Size(162, 28);
|
|
comboBox3.TabIndex = 46;
|
|
comboBox3.ValueMember = "IdtipeProduct";
|
|
//
|
|
// comboBox2
|
|
//
|
|
comboBox2.BackColor = Color.FromArgb(133, 242, 189);
|
|
comboBox2.DataBindings.Add(new Binding("SelectedValue", bindingSource_product, "IdSuplier", true));
|
|
comboBox2.DataSource = bindingSource_supplier;
|
|
comboBox2.DisplayMember = "Name";
|
|
comboBox2.FormattingEnabled = true;
|
|
comboBox2.Location = new Point(283, 153);
|
|
comboBox2.Name = "comboBox2";
|
|
comboBox2.Size = new Size(162, 28);
|
|
comboBox2.TabIndex = 45;
|
|
comboBox2.ValueMember = "Idsuplier";
|
|
//
|
|
// comboBox1
|
|
//
|
|
comboBox1.BackColor = Color.FromArgb(133, 242, 189);
|
|
comboBox1.DataBindings.Add(new Binding("SelectedValue", bindingSource_product, "IdManufactur", true));
|
|
comboBox1.DataSource = bindingSource_manufactur;
|
|
comboBox1.DisplayMember = "Name";
|
|
comboBox1.FormattingEnabled = true;
|
|
comboBox1.Location = new Point(283, 99);
|
|
comboBox1.Name = "comboBox1";
|
|
comboBox1.Size = new Size(162, 28);
|
|
comboBox1.TabIndex = 44;
|
|
comboBox1.ValueMember = "Idmanufact";
|
|
//
|
|
// textBox6
|
|
//
|
|
textBox6.BackColor = Color.FromArgb(133, 242, 189);
|
|
textBox6.DataBindings.Add(new Binding("DataContext", bindingSource_product, "KolVo", true));
|
|
textBox6.DataBindings.Add(new Binding("Text", bindingSource_product, "KolVo", true));
|
|
textBox6.ForeColor = Color.Black;
|
|
textBox6.Location = new Point(12, 323);
|
|
textBox6.Name = "textBox6";
|
|
textBox6.Size = new Size(211, 28);
|
|
textBox6.TabIndex = 43;
|
|
//
|
|
// textBox5
|
|
//
|
|
textBox5.BackColor = Color.FromArgb(133, 242, 189);
|
|
textBox5.DataBindings.Add(new Binding("DataContext", bindingSource_product, "Name", true));
|
|
textBox5.DataBindings.Add(new Binding("Text", bindingSource_product, "Name", true));
|
|
textBox5.ForeColor = Color.Black;
|
|
textBox5.Location = new Point(12, 25);
|
|
textBox5.Name = "textBox5";
|
|
textBox5.Size = new Size(211, 28);
|
|
textBox5.TabIndex = 42;
|
|
//
|
|
// textBox4
|
|
//
|
|
textBox4.BackColor = Color.FromArgb(133, 242, 189);
|
|
textBox4.DataBindings.Add(new Binding("DataContext", bindingSource_product, "PriceProduct", true));
|
|
textBox4.DataBindings.Add(new Binding("Text", bindingSource_product, "PriceProduct", true));
|
|
textBox4.ForeColor = Color.Black;
|
|
textBox4.Location = new Point(12, 268);
|
|
textBox4.Name = "textBox4";
|
|
textBox4.Size = new Size(211, 28);
|
|
textBox4.TabIndex = 41;
|
|
//
|
|
// textBox3
|
|
//
|
|
textBox3.BackColor = Color.FromArgb(133, 242, 189);
|
|
textBox3.DataBindings.Add(new Binding("DataContext", bindingSource_product, "Sale", true));
|
|
textBox3.DataBindings.Add(new Binding("Text", bindingSource_product, "Sale", true));
|
|
textBox3.ForeColor = Color.Black;
|
|
textBox3.Location = new Point(12, 205);
|
|
textBox3.Name = "textBox3";
|
|
textBox3.Size = new Size(211, 28);
|
|
textBox3.TabIndex = 40;
|
|
//
|
|
// textBox2
|
|
//
|
|
textBox2.BackColor = Color.FromArgb(133, 242, 189);
|
|
textBox2.DataBindings.Add(new Binding("DataContext", bindingSource_product, "ProductContent", true));
|
|
textBox2.DataBindings.Add(new Binding("Text", bindingSource_product, "ProductContent", true));
|
|
textBox2.ForeColor = Color.Black;
|
|
textBox2.Location = new Point(12, 145);
|
|
textBox2.Name = "textBox2";
|
|
textBox2.Size = new Size(211, 28);
|
|
textBox2.TabIndex = 39;
|
|
//
|
|
// textBox1
|
|
//
|
|
textBox1.BackColor = Color.FromArgb(133, 242, 189);
|
|
textBox1.DataBindings.Add(new Binding("DataContext", bindingSource_product, "Articl", true));
|
|
textBox1.DataBindings.Add(new Binding("Text", bindingSource_product, "Articl", true));
|
|
textBox1.ForeColor = Color.Black;
|
|
textBox1.Location = new Point(12, 82);
|
|
textBox1.Name = "textBox1";
|
|
textBox1.Size = new Size(211, 28);
|
|
textBox1.TabIndex = 38;
|
|
//
|
|
// button_photo_45
|
|
//
|
|
button_photo_45.BackColor = Color.Red;
|
|
button_photo_45.Location = new Point(308, 394);
|
|
button_photo_45.Name = "button_photo_45";
|
|
button_photo_45.Size = new Size(176, 45);
|
|
button_photo_45.TabIndex = 37;
|
|
button_photo_45.Text = "Добавить фото";
|
|
button_photo_45.UseVisualStyleBackColor = false;
|
|
//
|
|
// Save2
|
|
//
|
|
Save2.BackColor = Color.Red;
|
|
Save2.Location = new Point(30, 429);
|
|
Save2.Name = "Save2";
|
|
Save2.Size = new Size(159, 45);
|
|
Save2.TabIndex = 36;
|
|
Save2.Text = "Сохранить";
|
|
Save2.UseVisualStyleBackColor = false;
|
|
//
|
|
// button3
|
|
//
|
|
button3.BackColor = Color.Red;
|
|
button3.Location = new Point(309, 462);
|
|
button3.Name = "button3";
|
|
button3.Size = new Size(175, 45);
|
|
button3.TabIndex = 35;
|
|
button3.Text = "Назад";
|
|
button3.UseVisualStyleBackColor = false;
|
|
button3.Click += button3_Click;
|
|
//
|
|
// Form_redact
|
|
//
|
|
AutoScaleDimensions = new SizeF(9F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.FromArgb(192, 237, 215);
|
|
ClientSize = new Size(500, 584);
|
|
Controls.Add(pictureBox_11);
|
|
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(label1);
|
|
Controls.Add(comboBox4);
|
|
Controls.Add(comboBox3);
|
|
Controls.Add(comboBox2);
|
|
Controls.Add(comboBox1);
|
|
Controls.Add(textBox6);
|
|
Controls.Add(textBox5);
|
|
Controls.Add(textBox4);
|
|
Controls.Add(textBox3);
|
|
Controls.Add(textBox2);
|
|
Controls.Add(textBox1);
|
|
Controls.Add(button_photo_45);
|
|
Controls.Add(Save2);
|
|
Controls.Add(button3);
|
|
Font = new Font("Comic Sans MS", 11.25F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
|
FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Margin = new Padding(4);
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "Form_redact";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "редактирование";
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_ed).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_tipe_product).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_manufactur).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_supplier).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)bindingSource_product).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox_11).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
public BindingSource bindingSource_ed;
|
|
public BindingSource bindingSource_tipe_product;
|
|
public BindingSource bindingSource_manufactur;
|
|
public BindingSource bindingSource_supplier;
|
|
public BindingSource bindingSource_product;
|
|
public PictureBox pictureBox_11;
|
|
private Label label10;
|
|
private Label label9;
|
|
private Label label8;
|
|
private Label label7;
|
|
private Label label6;
|
|
private Label label5;
|
|
private Label label4;
|
|
private Label label3;
|
|
private Label label2;
|
|
private Label label1;
|
|
private ComboBox comboBox4;
|
|
private ComboBox comboBox3;
|
|
private ComboBox comboBox2;
|
|
private ComboBox comboBox1;
|
|
private TextBox textBox6;
|
|
private TextBox textBox5;
|
|
private TextBox textBox4;
|
|
private TextBox textBox3;
|
|
private TextBox textBox2;
|
|
private TextBox textBox1;
|
|
public Button button_photo_45;
|
|
public Button Save2;
|
|
private Button button3;
|
|
}
|
|
} |