namespace shoe_store { partial class LayoutControl { /// /// Обязательная переменная конструктора. /// private System.ComponentModel.IContainer components = null; /// /// Освободить все используемые ресурсы. /// /// истинно, если управляемый ресурс должен быть удален; иначе ложно. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Код, автоматически созданный конструктором компонентов /// /// Требуемый метод для поддержки конструктора — не изменяйте /// содержимое этого метода с помощью редактора кода. /// private void InitializeComponent() { components = new System.ComponentModel.Container(); descri = new TextBox(); productBindingSource = new BindingSource(components); unitttttttttte = new TextBox(); kwanttodm = new TextBox(); sale = new TextBox(); articledb = new TextBox(); Price = new TextBox(); suppluer = new ComboBox(); supplierbindingSource = new BindingSource(components); manufac = new ComboBox(); manuSource2 = new BindingSource(components); catgor = new ComboBox(); CategorSource1 = new BindingSource(components); name = new TextBox(); ((System.ComponentModel.ISupportInitialize)productBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)supplierbindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)manuSource2).BeginInit(); ((System.ComponentModel.ISupportInitialize)CategorSource1).BeginInit(); SuspendLayout(); // // descri // descri.DataBindings.Add(new Binding("Text", productBindingSource, "Description", true)); descri.Location = new Point(194, 109); descri.Name = "descri"; descri.Size = new Size(146, 27); descri.TabIndex = 22; // // productBindingSource // productBindingSource.DataSource = typeof(Models.Product); // // unitttttttttte // unitttttttttte.DataBindings.Add(new Binding("Text", productBindingSource, "UnitType", true)); unitttttttttte.Location = new Point(194, 66); unitttttttttte.Name = "unitttttttttte"; unitttttttttte.Size = new Size(146, 27); unitttttttttte.TabIndex = 21; // // kwanttodm // kwanttodm.DataBindings.Add(new Binding("Text", productBindingSource, "QuantityInStock", true)); kwanttodm.Location = new Point(194, 155); kwanttodm.Name = "kwanttodm"; kwanttodm.Size = new Size(146, 27); kwanttodm.TabIndex = 20; // // sale // sale.DataBindings.Add(new Binding("Text", productBindingSource, "SalePercent", true)); sale.Location = new Point(194, 18); sale.Name = "sale"; sale.Size = new Size(146, 27); sale.TabIndex = 19; // // articledb // articledb.DataBindings.Add(new Binding("Text", productBindingSource, "ArticleProduct", true)); articledb.Location = new Point(42, 17); articledb.Name = "articledb"; articledb.Size = new Size(146, 27); articledb.TabIndex = 18; // // Price // Price.DataBindings.Add(new Binding("Text", productBindingSource, "Price", true)); Price.Location = new Point(42, 97); Price.Name = "Price"; Price.Size = new Size(146, 27); Price.TabIndex = 17; // // suppluer // suppluer.DataBindings.Add(new Binding("SelectedValue", supplierbindingSource, "IdSupplier", true)); suppluer.DataSource = supplierbindingSource; suppluer.DisplayMember = "SupplierName"; suppluer.FormattingEnabled = true; suppluer.Location = new Point(42, 144); suppluer.Name = "suppluer"; suppluer.Size = new Size(146, 28); suppluer.TabIndex = 16; suppluer.ValueMember = "IdSupplier"; // // supplierbindingSource // supplierbindingSource.DataSource = typeof(Models.Supplier); // // manufac // manufac.DataBindings.Add(new Binding("SelectedValue", manuSource2, "IdManufacturer", true)); manufac.DataSource = manuSource2; manufac.DisplayMember = "ManufacturerName"; manufac.FormattingEnabled = true; manufac.Location = new Point(42, 189); manufac.Name = "manufac"; manufac.Size = new Size(121, 28); manufac.TabIndex = 15; manufac.ValueMember = "IdManufacturer"; // // manuSource2 // manuSource2.DataSource = typeof(Models.Manufacturer); manuSource2.CurrentChanged += bindingSource2_CurrentChanged; // // catgor // catgor.DataBindings.Add(new Binding("SelectedValue", CategorSource1, "IdCategory", true)); catgor.DataSource = CategorSource1; catgor.DisplayMember = "CategoryName"; catgor.FormattingEnabled = true; catgor.Location = new Point(194, 188); catgor.Name = "catgor"; catgor.Size = new Size(121, 28); catgor.TabIndex = 14; catgor.ValueMember = "IdCategory"; // // CategorSource1 // CategorSource1.DataSource = typeof(Models.Category); // // name // name.DataBindings.Add(new Binding("Text", productBindingSource, "ProductName", true)); name.Location = new Point(42, 50); name.Name = "name"; name.Size = new Size(146, 27); name.TabIndex = 13; // // LayoutControl // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(descri); Controls.Add(unitttttttttte); Controls.Add(kwanttodm); Controls.Add(sale); Controls.Add(articledb); Controls.Add(Price); Controls.Add(suppluer); Controls.Add(manufac); Controls.Add(catgor); Controls.Add(name); Name = "LayoutControl"; Size = new Size(344, 235); ((System.ComponentModel.ISupportInitialize)productBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)supplierbindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)manuSource2).EndInit(); ((System.ComponentModel.ISupportInitialize)CategorSource1).EndInit(); ResumeLayout(false); PerformLayout(); } #endregion private TextBox descri; private TextBox unitttttttttte; private TextBox kwanttodm; private TextBox sale; private TextBox articledb; private TextBox Price; private ComboBox suppluer; private ComboBox manufac; private ComboBox catgor; private TextBox name; public BindingSource productBindingSource; public BindingSource CategorSource1; public BindingSource supplierbindingSource; public BindingSource manuSource2; } }