PIbd-23 Firsov Kirill LabWork 05 #21

Closed
Firsov_Kirill wants to merge 5 commits from Laba5 into Laba4.2
3 changed files with 572 additions and 0 deletions
Showing only changes of commit 9164ec396f - Show all commits

View File

@ -0,0 +1,492 @@
namespace ProjectTractor
{
partial class FormTractorConfig
{
/// <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.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel18 = new System.Windows.Forms.Panel();
this.panel19 = new System.Windows.Forms.Panel();
this.panel20 = new System.Windows.Forms.Panel();
this.panel21 = new System.Windows.Forms.Panel();
this.panel14 = new System.Windows.Forms.Panel();
this.panel22 = new System.Windows.Forms.Panel();
this.panel10 = new System.Windows.Forms.Panel();
this.panel26 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.panel16 = new System.Windows.Forms.Panel();
this.panel17 = new System.Windows.Forms.Panel();
this.panel24 = new System.Windows.Forms.Panel();
this.panel25 = new System.Windows.Forms.Panel();
this.panel12 = new System.Windows.Forms.Panel();
this.panel13 = new System.Windows.Forms.Panel();
this.panel28 = new System.Windows.Forms.Panel();
this.panel29 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
this.panel9 = new System.Windows.Forms.Panel();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.panel18.SuspendLayout();
this.panel19.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
this.groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.groupBox2);
this.groupBox1.Controls.Add(this.checkBox2);
this.groupBox1.Controls.Add(this.checkBox1);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.numericUpDown2);
this.groupBox1.Controls.Add(this.numericUpDown1);
this.groupBox1.Location = new System.Drawing.Point(12, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(585, 341);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "groupBox1";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.panel18);
this.groupBox2.Controls.Add(this.panel14);
this.groupBox2.Controls.Add(this.panel22);
this.groupBox2.Controls.Add(this.panel10);
this.groupBox2.Controls.Add(this.panel26);
this.groupBox2.Controls.Add(this.panel6);
this.groupBox2.Controls.Add(this.panel2);
this.groupBox2.Controls.Add(this.panel1);
this.groupBox2.Location = new System.Drawing.Point(369, 28);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(194, 120);
this.groupBox2.TabIndex = 6;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "groupBox2";
//
// panel18
//
this.panel18.BackColor = System.Drawing.Color.Purple;
this.panel18.Controls.Add(this.panel19);
this.panel18.Location = new System.Drawing.Point(144, 69);
this.panel18.Name = "panel18";
this.panel18.Size = new System.Drawing.Size(40, 40);
this.panel18.TabIndex = 1;
//
// panel19
//
this.panel19.Controls.Add(this.panel20);
this.panel19.Controls.Add(this.panel21);
this.panel19.Location = new System.Drawing.Point(96, 0);
this.panel19.Name = "panel19";
this.panel19.Size = new System.Drawing.Size(40, 40);
this.panel19.TabIndex = 0;
//
// panel20
//
this.panel20.Location = new System.Drawing.Point(46, 0);
this.panel20.Name = "panel20";
this.panel20.Size = new System.Drawing.Size(40, 40);
this.panel20.TabIndex = 0;
//
// panel21
//
this.panel21.Location = new System.Drawing.Point(0, 0);
this.panel21.Name = "panel21";
this.panel21.Size = new System.Drawing.Size(40, 40);
this.panel21.TabIndex = 0;
//
// panel14
//
this.panel14.BackColor = System.Drawing.Color.Black;
this.panel14.Location = new System.Drawing.Point(98, 69);
this.panel14.Name = "panel14";
this.panel14.Size = new System.Drawing.Size(40, 40);
this.panel14.TabIndex = 1;
//
// panel22
//
this.panel22.BackColor = System.Drawing.Color.Silver;
this.panel22.Location = new System.Drawing.Point(52, 69);
this.panel22.Name = "panel22";
this.panel22.Size = new System.Drawing.Size(40, 40);
this.panel22.TabIndex = 1;
//
// panel10
//
this.panel10.BackColor = System.Drawing.Color.Yellow;
this.panel10.Location = new System.Drawing.Point(145, 23);
this.panel10.Name = "panel10";
this.panel10.Size = new System.Drawing.Size(40, 40);
this.panel10.TabIndex = 1;
//
// panel26
//
this.panel26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.panel26.Location = new System.Drawing.Point(98, 23);
this.panel26.Name = "panel26";
this.panel26.Size = new System.Drawing.Size(40, 40);
this.panel26.TabIndex = 1;
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.White;
this.panel6.Location = new System.Drawing.Point(6, 69);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(40, 40);
this.panel6.TabIndex = 1;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.panel2.Location = new System.Drawing.Point(52, 23);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(40, 40);
this.panel2.TabIndex = 0;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Red;
this.panel1.Location = new System.Drawing.Point(6, 23);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(40, 40);
this.panel1.TabIndex = 0;
//
// checkBox2
//
this.checkBox2.AutoSize = true;
this.checkBox2.Location = new System.Drawing.Point(32, 227);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(205, 24);
this.checkBox2.TabIndex = 5;
this.checkBox2.Text = "Признак наличия отвала";
this.checkBox2.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(32, 286);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(305, 24);
this.checkBox1.TabIndex = 4;
this.checkBox1.Text = "Признак наличия орнамета на колесах";
this.checkBox1.UseVisualStyleBackColor = true;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(32, 82);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(33, 20);
this.label2.TabIndex = 3;
this.label2.Text = "Вес";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(32, 28);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(73, 20);
this.label1.TabIndex = 2;
this.label1.Text = "Скорость";
//
// numericUpDown2
//
this.numericUpDown2.Location = new System.Drawing.Point(132, 80);
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(109, 27);
this.numericUpDown2.TabIndex = 1;
//
// numericUpDown1
//
this.numericUpDown1.Location = new System.Drawing.Point(132, 26);
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(109, 27);
this.numericUpDown1.TabIndex = 0;
//
// panel16
//
this.panel16.Location = new System.Drawing.Point(0, 0);
this.panel16.Name = "panel16";
this.panel16.Size = new System.Drawing.Size(200, 100);
this.panel16.TabIndex = 0;
//
// panel17
//
this.panel17.Location = new System.Drawing.Point(0, 0);
this.panel17.Name = "panel17";
this.panel17.Size = new System.Drawing.Size(200, 100);
this.panel17.TabIndex = 0;
//
// panel24
//
this.panel24.Location = new System.Drawing.Point(0, 0);
this.panel24.Name = "panel24";
this.panel24.Size = new System.Drawing.Size(200, 100);
this.panel24.TabIndex = 0;
//
// panel25
//
this.panel25.Location = new System.Drawing.Point(0, 0);
this.panel25.Name = "panel25";
this.panel25.Size = new System.Drawing.Size(200, 100);
this.panel25.TabIndex = 0;
//
// panel12
//
this.panel12.Location = new System.Drawing.Point(0, 0);
this.panel12.Name = "panel12";
this.panel12.Size = new System.Drawing.Size(200, 100);
this.panel12.TabIndex = 0;
//
// panel13
//
this.panel13.Location = new System.Drawing.Point(0, 0);
this.panel13.Name = "panel13";
this.panel13.Size = new System.Drawing.Size(200, 100);
this.panel13.TabIndex = 0;
//
// panel28
//
this.panel28.Location = new System.Drawing.Point(0, 0);
this.panel28.Name = "panel28";
this.panel28.Size = new System.Drawing.Size(200, 100);
this.panel28.TabIndex = 0;
//
// panel29
//
this.panel29.Location = new System.Drawing.Point(0, 0);
this.panel29.Name = "panel29";
this.panel29.Size = new System.Drawing.Size(200, 100);
this.panel29.TabIndex = 0;
//
// panel5
//
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(200, 100);
this.panel5.TabIndex = 0;
//
// panel4
//
this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(200, 100);
this.panel4.TabIndex = 0;
//
// panel8
//
this.panel8.Location = new System.Drawing.Point(0, 0);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(200, 100);
this.panel8.TabIndex = 0;
//
// panel9
//
this.panel9.Location = new System.Drawing.Point(0, 0);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(200, 100);
this.panel9.TabIndex = 0;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.label6);
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Controls.Add(this.pictureBox1);
this.groupBox3.Location = new System.Drawing.Point(603, 12);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(267, 287);
this.groupBox3.TabIndex = 1;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "groupBox3";
//
// pictureBox1
//
this.pictureBox1.Location = new System.Drawing.Point(6, 63);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(255, 218);
this.pictureBox1.TabIndex = 2;
this.pictureBox1.TabStop = false;
//
// button5
//
this.button5.Location = new System.Drawing.Point(631, 305);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(94, 29);
this.button5.TabIndex = 2;
this.button5.Text = "Добавить";
this.button5.UseVisualStyleBackColor = true;
//
// button6
//
this.button6.Location = new System.Drawing.Point(744, 305);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(94, 29);
this.button6.TabIndex = 3;
this.button6.Text = "Отмена";
this.button6.UseVisualStyleBackColor = true;
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label3.Location = new System.Drawing.Point(369, 171);
this.label3.Name = "label3";
this.label3.Padding = new System.Windows.Forms.Padding(0, 10, 0, 10);
this.label3.Size = new System.Drawing.Size(71, 42);
this.label3.TabIndex = 7;
this.label3.Text = "Простой";
//
// label4
//
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label4.Location = new System.Drawing.Point(458, 171);
this.label4.Name = "label4";
this.label4.Padding = new System.Windows.Forms.Padding(0, 10, 0, 10);
this.label4.Size = new System.Drawing.Size(107, 42);
this.label4.TabIndex = 8;
this.label4.Text = "Продвинутый";
//
// label5
//
this.label5.AutoSize = true;
this.label5.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label5.Location = new System.Drawing.Point(28, 23);
this.label5.Name = "label5";
this.label5.Padding = new System.Windows.Forms.Padding(25, 5, 25, 5);
this.label5.Size = new System.Drawing.Size(94, 32);
this.label5.TabIndex = 3;
this.label5.Text = "Цвет";
//
// label6
//
this.label6.AutoSize = true;
this.label6.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label6.Location = new System.Drawing.Point(141, 23);
this.label6.Name = "label6";
this.label6.Padding = new System.Windows.Forms.Padding(10, 5, 10, 5);
this.label6.Size = new System.Drawing.Size(97, 32);
this.label6.TabIndex = 4;
this.label6.Text = "Доп. цвет";
//
// FormTractorConfig
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(882, 353);
this.Controls.Add(this.button6);
this.Controls.Add(this.button5);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox1);
this.Name = "FormTractorConfig";
this.Text = "FormTractorConfig";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.panel18.ResumeLayout(false);
this.panel19.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private GroupBox groupBox1;
private GroupBox groupBox2;
private Panel panel1;
private Panel panel2;
private Panel panel5;
private Panel panel4;
private CheckBox checkBox2;
private CheckBox checkBox1;
private Label label2;
private Label label1;
private NumericUpDown numericUpDown2;
private NumericUpDown numericUpDown1;
private Panel panel18;
private Panel panel19;
private Panel panel20;
private Panel panel21;
private Panel panel14;
private Panel panel16;
private Panel panel17;
private Panel panel22;
private Panel panel24;
private Panel panel25;
private Panel panel10;
private Panel panel12;
private Panel panel13;
private Panel panel26;
private Panel panel28;
private Panel panel29;
private Panel panel6;
private Panel panel8;
private Panel panel9;
private Label label4;
private Label label3;
private GroupBox groupBox3;
private Label label6;
private Label label5;
private PictureBox pictureBox1;
private Button button5;
private Button button6;
}
}

View File

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ProjectTractor
{
public partial class FormTractorConfig : Form
{
public FormTractorConfig()
{
InitializeComponent();
}
}
}

View File

@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>