/
VanDamn
/
cSharp_RD
Обзор
Документация
Войти
/
VanDamn
/
cSharp_RD
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
AddForm.Designer.cs
324 строки
11 KB
VanDamn
версия 2
09 июл 2026, 15:30
09 июл 2026, 15:30
ea64be4
Код
Авторство
О чём код?
namespace Electro_Sheet { partial class AddForm { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { label1 = new Label(); label2 = new Label(); label3 = new Label(); label4 = new Label(); label5 = new Label(); label6 = new Label(); label7 = new Label(); label8 = new Label(); label9 = new Label(); label16 = new Label(); label17 = new Label(); label19 = new Label(); textBox1 = new TextBox(); textBox2 = new TextBox(); textBox3 = new TextBox(); textBox4 = new TextBox(); textBox5 = new TextBox(); textBox6 = new TextBox(); textBox7 = new TextBox(); textBox9 = new TextBox(); textBox11 = new TextBox(); textBox12 = new TextBox(); textBox13 = new TextBox(); button1 = new Button(); button2 = new Button(); comboBox1 = new ComboBox(); label10 = new Label(); textBox8 = new TextBox(); SuspendLayout(); // // label1 // label1.Location = new Point(30, 55); label1.Name = "label1"; label1.Size = new Size(124, 23); label1.TabIndex = 0; label1.Text = "Наименование:"; // // label2 // label2.Location = new Point(30, 120); label2.Name = "label2"; label2.Size = new Size(124, 23); label2.TabIndex = 1; label2.Text = "Количество, шт:"; // // label3 // label3.Location = new Point(30, 155); label3.Name = "label3"; label3.Size = new Size(132, 23); label3.TabIndex = 2; label3.Text = "P механизма, кВт:"; // // label4 // label4.Location = new Point(30, 190); label4.Name = "label4"; label4.Size = new Size(124, 23); label4.TabIndex = 3; label4.Text = "P двигателя, кВт:"; // // label5 // label5.Location = new Point(30, 225); label5.Name = "label5"; label5.Size = new Size(132, 23); label5.TabIndex = 4; label5.Text = "P min двиг., кВт:"; // // label6 // label6.Location = new Point(30, 260); label6.Name = "label6"; label6.Size = new Size(124, 23); label6.TabIndex = 5; label6.Text = "КПД:"; // // label7 // label7.Location = new Point(30, 295); label7.Name = "label7"; label7.Size = new Size(132, 23); label7.TabIndex = 6; label7.Text = "Коэф. мощности:"; // // label8 // label8.Location = new Point(30, 330); label8.Name = "label8"; label8.Size = new Size(124, 23); label8.TabIndex = 7; label8.Text = "Тип нагрузки:"; // // label9 // label9.Location = new Point(30, 365); label9.Name = "label9"; label9.Size = new Size(124, 23); label9.TabIndex = 8; label9.Text = "Кол. раб., шт:"; // // label16 // label16.Location = new Point(30, 400); label16.Name = "label16"; label16.Size = new Size(124, 23); label16.TabIndex = 9; label16.Text = "Коэф. загрузки:"; // // label17 // label17.Location = new Point(30, 435); label17.Name = "label17"; label17.Size = new Size(132, 23); label17.TabIndex = 10; label17.Text = "Время работы, ч:"; // // label19 // label19.Location = new Point(30, 20); label19.Name = "label19"; label19.Size = new Size(100, 23); label19.TabIndex = 11; label19.Text = "ID:"; // // textBox1 // textBox1.Location = new Point(160, 52); textBox1.Name = "textBox1"; textBox1.Size = new Size(200, 27); textBox1.TabIndex = 12; // // textBox2 // textBox2.Location = new Point(160, 117); textBox2.Name = "textBox2"; textBox2.Size = new Size(100, 27); textBox2.TabIndex = 13; // // textBox3 // textBox3.Location = new Point(160, 152); textBox3.Name = "textBox3"; textBox3.Size = new Size(100, 27); textBox3.TabIndex = 14; // // textBox4 // textBox4.Location = new Point(160, 187); textBox4.Name = "textBox4"; textBox4.Size = new Size(100, 27); textBox4.TabIndex = 15; // // textBox5 // textBox5.Location = new Point(160, 222); textBox5.Name = "textBox5"; textBox5.Size = new Size(100, 27); textBox5.TabIndex = 16; // // textBox6 // textBox6.Location = new Point(160, 257); textBox6.Name = "textBox6"; textBox6.Size = new Size(100, 27); textBox6.TabIndex = 17; // // textBox7 // textBox7.Location = new Point(160, 292); textBox7.Name = "textBox7"; textBox7.Size = new Size(100, 27); textBox7.TabIndex = 18; // // textBox9 // textBox9.Location = new Point(160, 362); textBox9.Name = "textBox9"; textBox9.Size = new Size(100, 27); textBox9.TabIndex = 20; // // textBox11 // textBox11.Location = new Point(160, 397); textBox11.Name = "textBox11"; textBox11.Size = new Size(100, 27); textBox11.TabIndex = 21; // // textBox12 // textBox12.Location = new Point(160, 432); textBox12.Name = "textBox12"; textBox12.Size = new Size(100, 27); textBox12.TabIndex = 22; // // textBox13 // textBox13.Location = new Point(160, 17); textBox13.Name = "textBox13"; textBox13.ReadOnly = true; textBox13.Size = new Size(100, 27); textBox13.TabIndex = 23; // // button1 // button1.Location = new Point(160, 480); button1.Name = "button1"; button1.Size = new Size(125, 35); button1.TabIndex = 24; button1.Text = "Сохранить"; button1.UseVisualStyleBackColor = true; button1.Click += button1_Click; // // button2 // button2.Location = new Point(30, 480); button2.Name = "button2"; button2.Size = new Size(100, 48); button2.TabIndex = 25; button2.Text = "Рандомные значения"; button2.UseVisualStyleBackColor = true; button2.Click += button2_Click; // // comboBox1 // comboBox1.FormattingEnabled = true; comboBox1.Items.AddRange(new object[] { "Режим 1", "Режим 2", "Режим 3", "Режим 4", "Режим 5" }); comboBox1.Location = new Point(160, 327); comboBox1.Name = "comboBox1"; comboBox1.Size = new Size(100, 28); comboBox1.TabIndex = 26; // // label10 // label10.AutoSize = true; label10.Location = new Point(30, 88); label10.Name = "label10"; label10.Size = new Size(118, 20); label10.TabIndex = 27; label10.Text = "Напряжение, В:"; // // textBox8 // textBox8.Location = new Point(160, 85); textBox8.Name = "textBox8"; textBox8.Size = new Size(125, 27); textBox8.TabIndex = 28; // // AddForm // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(391, 537); Controls.Add(textBox8); Controls.Add(label10); Controls.Add(comboBox1); Controls.Add(button2); Controls.Add(label1); Controls.Add(label2); Controls.Add(label3); Controls.Add(label4); Controls.Add(label5); Controls.Add(label6); Controls.Add(label7); Controls.Add(label8); Controls.Add(label9); Controls.Add(label16); Controls.Add(label17); Controls.Add(label19); Controls.Add(textBox1); Controls.Add(textBox2); Controls.Add(textBox3); Controls.Add(textBox4); Controls.Add(textBox5); Controls.Add(textBox6); Controls.Add(textBox7); Controls.Add(textBox9); Controls.Add(textBox11); Controls.Add(textBox12); Controls.Add(textBox13); Controls.Add(button1); FormBorderStyle = FormBorderStyle.FixedDialog; MaximizeBox = false; MinimizeBox = false; Name = "AddForm"; StartPosition = FormStartPosition.CenterScreen; Text = "Добавление новой записи"; ResumeLayout(false); PerformLayout(); } public TextBox textBox1; public TextBox textBox2; public TextBox textBox3; public TextBox textBox4; public TextBox textBox5; public TextBox textBox6; public TextBox textBox7; public TextBox textBox9; public TextBox textBox11; public TextBox textBox12; public TextBox textBox13; private Label label1; 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 label16; private Label label17; private Label label19; private Button button1; private Button button2; private ComboBox comboBox1; private Label label10; private TextBox textBox8; } }