/
DaNN26
/
sql-utility-manager
Обзор
Документация
Войти
/
DaNN26
/
sql-utility-manager
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Demo/AddForm.Designer.cs
345 строк
17 KB
DaNN
Добавьте файлы проекта.
25 май 2026, 17:03
25 май 2026, 17:03
9efb65a
Код
Авторство
О чём код?
namespace Demo { partial class AddForm { /// <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() { this.components = new System.ComponentModel.Container(); this.titleTextBox = new System.Windows.Forms.TextBox(); this.addPictureBox = new System.Windows.Forms.PictureBox(); this.titleLabel = new System.Windows.Forms.Label(); this.categoryLabel = new System.Windows.Forms.Label(); this.categoryComboBox = new System.Windows.Forms.ComboBox(); this.descLabel = new System.Windows.Forms.Label(); this.descTextBox = new System.Windows.Forms.RichTextBox(); this.producerComboBox = new System.Windows.Forms.ComboBox(); this.producerBindingSource = new System.Windows.Forms.BindingSource(this.components); this.marketDataSet = new Demo.MarketDataSet(); this.producerLabel = new System.Windows.Forms.Label(); this.supplierComboBox = new System.Windows.Forms.ComboBox(); this.supplierLabel = new System.Windows.Forms.Label(); this.priceLabel = new System.Windows.Forms.Label(); this.priceTextBox = new System.Windows.Forms.TextBox(); this.unitComboBox = new System.Windows.Forms.ComboBox(); this.unitLabel = new System.Windows.Forms.Label(); this.amountLabel = new System.Windows.Forms.Label(); this.amountTextBox = new System.Windows.Forms.TextBox(); this.discountLabel = new System.Windows.Forms.Label(); this.discountTextBox = new System.Windows.Forms.TextBox(); this.AddButton = new System.Windows.Forms.Button(); this.marketDataSetBindingSource = new System.Windows.Forms.BindingSource(this.components); this.supplierBindingSource = new System.Windows.Forms.BindingSource(this.components); this.supplierTableAdapter = new Demo.MarketDataSetTableAdapters.supplierTableAdapter(); this.producerTableAdapter = new Demo.MarketDataSetTableAdapters.producerTableAdapter(); this.backButton = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.addPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.producerBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.marketDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.marketDataSetBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.supplierBindingSource)).BeginInit(); this.SuspendLayout(); // // titleTextBox // this.titleTextBox.Location = new System.Drawing.Point(246, 31); this.titleTextBox.Name = "titleTextBox"; this.titleTextBox.Size = new System.Drawing.Size(220, 20); this.titleTextBox.TabIndex = 1; // // addPictureBox // this.addPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.addPictureBox.Image = global::Demo.Properties.Resources.picture; this.addPictureBox.Location = new System.Drawing.Point(-1, 2); this.addPictureBox.Name = "addPictureBox"; this.addPictureBox.Size = new System.Drawing.Size(227, 242); this.addPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.addPictureBox.TabIndex = 0; this.addPictureBox.TabStop = false; // // titleLabel // this.titleLabel.AutoSize = true; this.titleLabel.Location = new System.Drawing.Point(243, 15); this.titleLabel.Name = "titleLabel"; this.titleLabel.Size = new System.Drawing.Size(121, 13); this.titleLabel.TabIndex = 2; this.titleLabel.Text = "Наименование товара"; // // categoryLabel // this.categoryLabel.AutoSize = true; this.categoryLabel.Location = new System.Drawing.Point(243, 60); this.categoryLabel.Name = "categoryLabel"; this.categoryLabel.Size = new System.Drawing.Size(60, 13); this.categoryLabel.TabIndex = 4; this.categoryLabel.Text = "Категория"; // // categoryComboBox // this.categoryComboBox.FormattingEnabled = true; this.categoryComboBox.Location = new System.Drawing.Point(246, 76); this.categoryComboBox.Name = "categoryComboBox"; this.categoryComboBox.Size = new System.Drawing.Size(220, 21); this.categoryComboBox.TabIndex = 5; // // descLabel // this.descLabel.AutoSize = true; this.descLabel.Location = new System.Drawing.Point(243, 108); this.descLabel.Name = "descLabel"; this.descLabel.Size = new System.Drawing.Size(57, 13); this.descLabel.TabIndex = 7; this.descLabel.Text = "Описание"; // // descTextBox // this.descTextBox.Location = new System.Drawing.Point(246, 124); this.descTextBox.Name = "descTextBox"; this.descTextBox.Size = new System.Drawing.Size(220, 52); this.descTextBox.TabIndex = 8; this.descTextBox.Text = ""; // // producerComboBox // this.producerComboBox.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.producerBindingSource, "title", true)); this.producerComboBox.FormattingEnabled = true; this.producerComboBox.Location = new System.Drawing.Point(246, 204); this.producerComboBox.Name = "producerComboBox"; this.producerComboBox.Size = new System.Drawing.Size(220, 21); this.producerComboBox.TabIndex = 10; // // producerBindingSource // this.producerBindingSource.DataMember = "producer"; this.producerBindingSource.DataSource = this.marketDataSet; // // marketDataSet // this.marketDataSet.DataSetName = "MarketDataSet"; this.marketDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // producerLabel // this.producerLabel.AutoSize = true; this.producerLabel.Location = new System.Drawing.Point(243, 188); this.producerLabel.Name = "producerLabel"; this.producerLabel.Size = new System.Drawing.Size(86, 13); this.producerLabel.TabIndex = 9; this.producerLabel.Text = "Производитель"; // // supplierComboBox // this.supplierComboBox.FormattingEnabled = true; this.supplierComboBox.Location = new System.Drawing.Point(246, 253); this.supplierComboBox.Name = "supplierComboBox"; this.supplierComboBox.Size = new System.Drawing.Size(220, 21); this.supplierComboBox.TabIndex = 12; // // supplierLabel // this.supplierLabel.AutoSize = true; this.supplierLabel.Location = new System.Drawing.Point(243, 237); this.supplierLabel.Name = "supplierLabel"; this.supplierLabel.Size = new System.Drawing.Size(65, 13); this.supplierLabel.TabIndex = 11; this.supplierLabel.Text = "Поставщик"; // // priceLabel // this.priceLabel.AutoSize = true; this.priceLabel.Location = new System.Drawing.Point(243, 286); this.priceLabel.Name = "priceLabel"; this.priceLabel.Size = new System.Drawing.Size(33, 13); this.priceLabel.TabIndex = 14; this.priceLabel.Text = "Цена"; // // priceTextBox // this.priceTextBox.Location = new System.Drawing.Point(246, 302); this.priceTextBox.Name = "priceTextBox"; this.priceTextBox.Size = new System.Drawing.Size(220, 20); this.priceTextBox.TabIndex = 13; // // unitComboBox // this.unitComboBox.FormattingEnabled = true; this.unitComboBox.Location = new System.Drawing.Point(246, 351); this.unitComboBox.Name = "unitComboBox"; this.unitComboBox.Size = new System.Drawing.Size(220, 21); this.unitComboBox.TabIndex = 16; // // unitLabel // this.unitLabel.AutoSize = true; this.unitLabel.Location = new System.Drawing.Point(243, 335); this.unitLabel.Name = "unitLabel"; this.unitLabel.Size = new System.Drawing.Size(109, 13); this.unitLabel.TabIndex = 15; this.unitLabel.Text = "Единица измерения"; // // amountLabel // this.amountLabel.AutoSize = true; this.amountLabel.Location = new System.Drawing.Point(479, 15); this.amountLabel.Name = "amountLabel"; this.amountLabel.Size = new System.Drawing.Size(120, 13); this.amountLabel.TabIndex = 18; this.amountLabel.Text = "Количество на складе"; // // amountTextBox // this.amountTextBox.Location = new System.Drawing.Point(482, 31); this.amountTextBox.Name = "amountTextBox"; this.amountTextBox.Size = new System.Drawing.Size(220, 20); this.amountTextBox.TabIndex = 17; // // discountLabel // this.discountLabel.AutoSize = true; this.discountLabel.Location = new System.Drawing.Point(479, 61); this.discountLabel.Name = "discountLabel"; this.discountLabel.Size = new System.Drawing.Size(118, 13); this.discountLabel.TabIndex = 20; this.discountLabel.Text = "Действующая скидка"; // // discountTextBox // this.discountTextBox.Location = new System.Drawing.Point(482, 77); this.discountTextBox.Name = "discountTextBox"; this.discountTextBox.Size = new System.Drawing.Size(220, 20); this.discountTextBox.TabIndex = 19; // // AddButton // this.AddButton.Location = new System.Drawing.Point(520, 210); this.AddButton.Name = "AddButton"; this.AddButton.Size = new System.Drawing.Size(148, 67); this.AddButton.TabIndex = 21; this.AddButton.Text = "Добавить"; this.AddButton.UseVisualStyleBackColor = true; this.AddButton.Click += new System.EventHandler(this.AddButton_Click); // // marketDataSetBindingSource // this.marketDataSetBindingSource.DataSource = this.marketDataSet; this.marketDataSetBindingSource.Position = 0; // // supplierBindingSource // this.supplierBindingSource.DataMember = "supplier"; this.supplierBindingSource.DataSource = this.marketDataSet; // // supplierTableAdapter // this.supplierTableAdapter.ClearBeforeFill = true; // // producerTableAdapter // this.producerTableAdapter.ClearBeforeFill = true; // // backButton // this.backButton.Location = new System.Drawing.Point(12, 329); this.backButton.Name = "backButton"; this.backButton.Size = new System.Drawing.Size(104, 43); this.backButton.TabIndex = 22; this.backButton.Text = "Назад"; this.backButton.UseVisualStyleBackColor = true; this.backButton.Click += new System.EventHandler(this.backButton_Click); // // AddForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(705, 384); this.Controls.Add(this.backButton); this.Controls.Add(this.AddButton); this.Controls.Add(this.discountLabel); this.Controls.Add(this.discountTextBox); this.Controls.Add(this.amountLabel); this.Controls.Add(this.amountTextBox); this.Controls.Add(this.unitComboBox); this.Controls.Add(this.unitLabel); this.Controls.Add(this.priceLabel); this.Controls.Add(this.priceTextBox); this.Controls.Add(this.supplierComboBox); this.Controls.Add(this.supplierLabel); this.Controls.Add(this.producerComboBox); this.Controls.Add(this.producerLabel); this.Controls.Add(this.descTextBox); this.Controls.Add(this.descLabel); this.Controls.Add(this.categoryComboBox); this.Controls.Add(this.categoryLabel); this.Controls.Add(this.titleLabel); this.Controls.Add(this.titleTextBox); this.Controls.Add(this.addPictureBox); this.Name = "AddForm"; this.Text = "AddForm"; this.Load += new System.EventHandler(this.AddForm_Load); ((System.ComponentModel.ISupportInitialize)(this.addPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.producerBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.marketDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.marketDataSetBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.supplierBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.PictureBox addPictureBox; private System.Windows.Forms.TextBox titleTextBox; private System.Windows.Forms.Label titleLabel; private System.Windows.Forms.Label categoryLabel; private System.Windows.Forms.ComboBox categoryComboBox; private System.Windows.Forms.Label descLabel; private System.Windows.Forms.RichTextBox descTextBox; private System.Windows.Forms.ComboBox producerComboBox; private System.Windows.Forms.Label producerLabel; private System.Windows.Forms.ComboBox supplierComboBox; private System.Windows.Forms.Label supplierLabel; private System.Windows.Forms.Label priceLabel; private System.Windows.Forms.TextBox priceTextBox; private System.Windows.Forms.ComboBox unitComboBox; private System.Windows.Forms.Label unitLabel; private System.Windows.Forms.Label amountLabel; private System.Windows.Forms.TextBox amountTextBox; private System.Windows.Forms.Label discountLabel; private System.Windows.Forms.TextBox discountTextBox; private System.Windows.Forms.Button AddButton; private System.Windows.Forms.BindingSource marketDataSetBindingSource; private MarketDataSet marketDataSet; private System.Windows.Forms.BindingSource supplierBindingSource; private MarketDataSetTableAdapters.supplierTableAdapter supplierTableAdapter; private System.Windows.Forms.BindingSource producerBindingSource; private MarketDataSetTableAdapters.producerTableAdapter producerTableAdapter; private System.Windows.Forms.Button backButton; } }