Nugaev D.N. Lab_work04 #4

Closed
Damir_Nugaev_ISEbd-22 wants to merge 7 commits from Lab_work04 into Lab_work03
3 changed files with 382 additions and 0 deletions
Showing only changes of commit 9da228d7ec - Show all commits

294
Bus/Bus/FormBusConfig.Designer.cs generated Normal file
View File

@ -0,0 +1,294 @@
namespace Bus
{
partial class FormBusConfig
{
/// <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.groupBoxConfig = new System.Windows.Forms.GroupBox();
//this.labelObject = new System.Windows.Forms.Label();
this.labelSimpleObject = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.numericUpDownWeight = new System.Windows.Forms.NumericUpDown();
this.numericUpDownSpeed = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panelPurple = new System.Windows.Forms.Panel();
this.panelYellow = new System.Windows.Forms.Panel();
this.panelaBlack = new System.Windows.Forms.Panel();
this.panelBlue = new System.Windows.Forms.Panel();
this.panelCray = new System.Windows.Forms.Panel();
this.panelWhite = new System.Windows.Forms.Panel();
this.panelGreen = new System.Windows.Forms.Panel();
this.panelPed = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.groupBoxConfig.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSpeed)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// groupBoxConfig
//
/////////////this.groupBoxConfig.Controls.Add(this.labelObject);
this.groupBoxConfig.Controls.Add(this.labelSimpleObject);
this.groupBoxConfig.Controls.Add(this.groupBox1);
this.groupBoxConfig.Controls.Add(this.checkBox3);
this.groupBoxConfig.Controls.Add(this.checkBox2);
this.groupBoxConfig.Controls.Add(this.checkBox1);
this.groupBoxConfig.Controls.Add(this.numericUpDownWeight);
this.groupBoxConfig.Controls.Add(this.numericUpDownSpeed);
this.groupBoxConfig.Controls.Add(this.label2);
this.groupBoxConfig.Controls.Add(this.label1);
this.groupBoxConfig.Location = new System.Drawing.Point(12, 12);
this.groupBoxConfig.Name = "groupBoxConfig";
this.groupBoxConfig.Size = new System.Drawing.Size(581, 226);
this.groupBoxConfig.TabIndex = 0;
this.groupBoxConfig.TabStop = false;
this.groupBoxConfig.Text = "Параметры";
//
// labelObject
//
/*this.labelObject.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelObject.Location = new System.Drawing.Point(452, 169);
this.labelObject.Name = "labelObject";
this.labelObject.Size = new System.Drawing.Size(111, 40);
this.labelObject.TabIndex = 9;
this.labelObject.Text = "Продвинутый";
this.labelObject.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;*/
//
// labelSimpleObject
//
this.labelSimpleObject.Location = new System.Drawing.Point(0, 0);
this.labelSimpleObject.Name = "labelSimpleObject";
this.labelSimpleObject.Size = new System.Drawing.Size(100, 23);
this.labelSimpleObject.TabIndex = 10;
//
// groupBox1
//
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(200, 100);
this.groupBox1.TabIndex = 11;
this.groupBox1.TabStop = false;
//
// checkBox3
//
this.checkBox3.Location = new System.Drawing.Point(0, 0);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(104, 24);
this.checkBox3.TabIndex = 12;
//
// checkBox2
//
this.checkBox2.Location = new System.Drawing.Point(0, 0);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(104, 24);
this.checkBox2.TabIndex = 13;
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(0, 0);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(104, 24);
this.checkBox1.TabIndex = 14;
//
// numericUpDownWeight
//
this.numericUpDownWeight.Location = new System.Drawing.Point(0, 0);
this.numericUpDownWeight.Name = "numericUpDownWeight";
this.numericUpDownWeight.Size = new System.Drawing.Size(120, 27);
this.numericUpDownWeight.TabIndex = 15;
//
// numericUpDownSpeed
//
this.numericUpDownSpeed.Location = new System.Drawing.Point(0, 0);
this.numericUpDownSpeed.Name = "numericUpDownSpeed";
this.numericUpDownSpeed.Size = new System.Drawing.Size(120, 27);
this.numericUpDownSpeed.TabIndex = 16;
//
// label2
//
this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(100, 23);
this.label2.TabIndex = 17;
//
// label1
//
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 23);
this.label1.TabIndex = 18;
//
// panelPurple
//
this.panelPurple.Location = new System.Drawing.Point(0, 0);
this.panelPurple.Name = "panelPurple";
this.panelPurple.Size = new System.Drawing.Size(200, 100);
this.panelPurple.TabIndex = 0;
//
// panelYellow
//
this.panelYellow.Location = new System.Drawing.Point(0, 0);
this.panelYellow.Name = "panelYellow";
this.panelYellow.Size = new System.Drawing.Size(200, 100);
this.panelYellow.TabIndex = 0;
//
// panelaBlack
//
this.panelaBlack.Location = new System.Drawing.Point(0, 0);
this.panelaBlack.Name = "panelaBlack";
this.panelaBlack.Size = new System.Drawing.Size(200, 100);
this.panelaBlack.TabIndex = 0;
//
// panelBlue
//
this.panelBlue.Location = new System.Drawing.Point(0, 0);
this.panelBlue.Name = "panelBlue";
this.panelBlue.Size = new System.Drawing.Size(200, 100);
this.panelBlue.TabIndex = 0;
//
// panelCray
//
this.panelCray.Location = new System.Drawing.Point(0, 0);
this.panelCray.Name = "panelCray";
this.panelCray.Size = new System.Drawing.Size(200, 100);
this.panelCray.TabIndex = 0;
//
// panelWhite
//
this.panelWhite.Location = new System.Drawing.Point(0, 0);
this.panelWhite.Name = "panelWhite";
this.panelWhite.Size = new System.Drawing.Size(200, 100);
this.panelWhite.TabIndex = 0;
//
// panelGreen
//
this.panelGreen.Location = new System.Drawing.Point(0, 0);
this.panelGreen.Name = "panelGreen";
this.panelGreen.Size = new System.Drawing.Size(200, 100);
this.panelGreen.TabIndex = 0;
//
// panelPed
//
this.panelPed.Location = new System.Drawing.Point(0, 0);
this.panelPed.Name = "panelPed";
this.panelPed.Size = new System.Drawing.Size(200, 100);
this.panelPed.TabIndex = 0;
//
// pictureBox1
//
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(100, 50);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// panel1
//
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(200, 100);
this.panel1.TabIndex = 0;
//
// label5
//
this.label5.Location = new System.Drawing.Point(0, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(100, 23);
this.label5.TabIndex = 0;
//
// label6
//
this.label6.Location = new System.Drawing.Point(0, 0);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(100, 23);
this.label6.TabIndex = 0;
//
// button1
//
this.button1.Location = new System.Drawing.Point(0, 0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
//
// button2
//
this.button2.Location = new System.Drawing.Point(0, 0);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 0;
//
// FormBusConfig
//
this.ClientSize = new System.Drawing.Size(282, 253);
this.Name = "FormBusConfig";
this.groupBoxConfig.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSpeed)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private GroupBox groupBoxConfig;
//private Label labelObject;
private Label labelSimpleObject;
private GroupBox groupBox1;
private Panel panelPurple;
private Panel panelYellow;
private Panel panelaBlack;
private Panel panelBlue;
private Panel panelCray;
private Panel panelWhite;
private Panel panelGreen;
private Panel panelPed;
private CheckBox checkBox3;
private CheckBox checkBox2;
private CheckBox checkBox1;
private NumericUpDown numericUpDownWeight;
private NumericUpDown numericUpDownSpeed;
private Label label2;
private Label label1;
private PictureBox pictureBox1;
private Panel panel1;
private Label label5;
private Label label6;
private Button button1;
private Button button2;
}
}

28
Bus/Bus/FormBusConfig.cs Normal file
View File

@ -0,0 +1,28 @@
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 Bus
{
public partial class FormBusConfig : Form
{
public FormBusConfig()
{
InitializeComponent();
}
/*private void LabelObject_MouseDown(object sender, MouseEventArgs e)
{
}*/
}
}

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>