diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.Designer.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.Designer.cs new file mode 100644 index 0000000..a1ec706 --- /dev/null +++ b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.Designer.cs @@ -0,0 +1,352 @@ +namespace ProjectDumpTruck +{ + partial class FormTruckConfig + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + groupBoxConfig = new GroupBox(); + checkBoxAwning = new CheckBox(); + numericUpDownWeight = new NumericUpDown(); + labelWeight = new Label(); + numericUpDownSpeed = new NumericUpDown(); + labelSpeed = new Label(); + labelModifiedObject = new Label(); + labelSimpleObject = new Label(); + checkBoxTent = new CheckBox(); + groupBoxColours = new GroupBox(); + panelRed = new Panel(); + panelOrange = new Panel(); + panelGreen = new Panel(); + panelYellow = new Panel(); + panelWhite = new Panel(); + panelGray = new Panel(); + panelBlack = new Panel(); + panelPink = new Panel(); + panelPurple = new Panel(); + panelBlue = new Panel(); + pictureBoxObject = new PictureBox(); + buttonAdd = new Button(); + buttonCancel = new Button(); + panel1 = new Panel(); + panelObject = new Panel(); + groupBoxConfig.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit(); + groupBoxColours.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit(); + panelObject.SuspendLayout(); + SuspendLayout(); + // + // groupBoxConfig + // + groupBoxConfig.Controls.Add(panel1); + groupBoxConfig.Controls.Add(groupBoxColours); + groupBoxConfig.Controls.Add(checkBoxTent); + groupBoxConfig.Controls.Add(checkBoxAwning); + groupBoxConfig.Controls.Add(numericUpDownWeight); + groupBoxConfig.Controls.Add(labelWeight); + groupBoxConfig.Controls.Add(numericUpDownSpeed); + groupBoxConfig.Controls.Add(labelSpeed); + groupBoxConfig.Controls.Add(labelModifiedObject); + groupBoxConfig.Controls.Add(labelSimpleObject); + groupBoxConfig.Dock = DockStyle.Left; + groupBoxConfig.Location = new Point(0, 0); + groupBoxConfig.Name = "groupBoxConfig"; + groupBoxConfig.Size = new Size(615, 266); + groupBoxConfig.TabIndex = 0; + groupBoxConfig.TabStop = false; + groupBoxConfig.Text = "Параметры"; + // + // checkBoxAwning + // + checkBoxAwning.AutoSize = true; + checkBoxAwning.Location = new Point(24, 153); + checkBoxAwning.Name = "checkBoxAwning"; + checkBoxAwning.Size = new Size(204, 24); + checkBoxAwning.TabIndex = 6; + checkBoxAwning.Text = "Признак наличия кузова"; + checkBoxAwning.UseVisualStyleBackColor = true; + // + // numericUpDownWeight + // + numericUpDownWeight.Location = new Point(94, 86); + numericUpDownWeight.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + numericUpDownWeight.Minimum = new decimal(new int[] { 100, 0, 0, 0 }); + numericUpDownWeight.Name = "numericUpDownWeight"; + numericUpDownWeight.Size = new Size(120, 27); + numericUpDownWeight.TabIndex = 5; + numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 }); + // + // labelWeight + // + labelWeight.AutoSize = true; + labelWeight.Location = new Point(52, 88); + labelWeight.Name = "labelWeight"; + labelWeight.Size = new Size(36, 20); + labelWeight.TabIndex = 4; + labelWeight.Text = "Вес:"; + // + // numericUpDownSpeed + // + numericUpDownSpeed.Location = new Point(94, 33); + numericUpDownSpeed.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + numericUpDownSpeed.Minimum = new decimal(new int[] { 100, 0, 0, 0 }); + numericUpDownSpeed.Name = "numericUpDownSpeed"; + numericUpDownSpeed.Size = new Size(120, 27); + numericUpDownSpeed.TabIndex = 3; + numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 }); + // + // labelSpeed + // + labelSpeed.AutoSize = true; + labelSpeed.Location = new Point(12, 33); + labelSpeed.Name = "labelSpeed"; + labelSpeed.Size = new Size(76, 20); + labelSpeed.TabIndex = 2; + labelSpeed.Text = "Скорость:"; + // + // labelModifiedObject + // + labelModifiedObject.BorderStyle = BorderStyle.FixedSingle; + labelModifiedObject.Location = new Point(432, 184); + labelModifiedObject.Name = "labelModifiedObject"; + labelModifiedObject.Size = new Size(148, 44); + labelModifiedObject.TabIndex = 1; + labelModifiedObject.Text = "Продвинутый"; + labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter; + // + // labelSimpleObject + // + labelSimpleObject.BorderStyle = BorderStyle.FixedSingle; + labelSimpleObject.Location = new Point(260, 184); + labelSimpleObject.Name = "labelSimpleObject"; + labelSimpleObject.Size = new Size(148, 44); + labelSimpleObject.TabIndex = 0; + labelSimpleObject.Text = "Простой"; + labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter; + // + // checkBoxTent + // + checkBoxTent.AutoSize = true; + checkBoxTent.Location = new Point(24, 204); + checkBoxTent.Name = "checkBoxTent"; + checkBoxTent.Size = new Size(195, 24); + checkBoxTent.TabIndex = 7; + checkBoxTent.Text = "Признак наличия тента"; + checkBoxTent.UseVisualStyleBackColor = true; + // + // groupBoxColours + // + groupBoxColours.Controls.Add(panelPurple); + groupBoxColours.Controls.Add(panelWhite); + groupBoxColours.Controls.Add(panelBlue); + groupBoxColours.Controls.Add(panelGreen); + groupBoxColours.Controls.Add(panelGray); + groupBoxColours.Controls.Add(panelOrange); + groupBoxColours.Controls.Add(panelBlack); + groupBoxColours.Controls.Add(panelYellow); + groupBoxColours.Controls.Add(panelPink); + groupBoxColours.Controls.Add(panelRed); + groupBoxColours.Location = new Point(260, 26); + groupBoxColours.Name = "groupBoxColours"; + groupBoxColours.Size = new Size(320, 135); + groupBoxColours.TabIndex = 8; + groupBoxColours.TabStop = false; + groupBoxColours.Text = "Цвета"; + // + // panelRed + // + panelRed.BackColor = Color.Red; + panelRed.Location = new Point(15, 26); + panelRed.Name = "panelRed"; + panelRed.Size = new Size(45, 45); + panelRed.TabIndex = 0; + // + // panelOrange + // + panelOrange.BackColor = Color.Orange; + panelOrange.Location = new Point(15, 77); + panelOrange.Name = "panelOrange"; + panelOrange.Size = new Size(45, 45); + panelOrange.TabIndex = 1; + // + // panelGreen + // + panelGreen.BackColor = Color.Green; + panelGreen.Location = new Point(75, 77); + panelGreen.Name = "panelGreen"; + panelGreen.Size = new Size(45, 45); + panelGreen.TabIndex = 3; + // + // panelYellow + // + panelYellow.BackColor = Color.Yellow; + panelYellow.Location = new Point(75, 26); + panelYellow.Name = "panelYellow"; + panelYellow.Size = new Size(45, 45); + panelYellow.TabIndex = 2; + // + // panelWhite + // + panelWhite.BackColor = Color.White; + panelWhite.Location = new Point(262, 77); + panelWhite.Name = "panelWhite"; + panelWhite.Size = new Size(45, 45); + panelWhite.TabIndex = 7; + // + // panelGray + // + panelGray.BackColor = Color.Gray; + panelGray.Location = new Point(200, 77); + panelGray.Name = "panelGray"; + panelGray.Size = new Size(45, 45); + panelGray.TabIndex = 5; + // + // panelBlack + // + panelBlack.BackColor = Color.Black; + panelBlack.Location = new Point(262, 26); + panelBlack.Name = "panelBlack"; + panelBlack.Size = new Size(45, 45); + panelBlack.TabIndex = 6; + // + // panelPink + // + panelPink.BackColor = Color.Pink; + panelPink.Location = new Point(200, 26); + panelPink.Name = "panelPink"; + panelPink.Size = new Size(45, 45); + panelPink.TabIndex = 4; + // + // panelPurple + // + panelPurple.BackColor = Color.Purple; + panelPurple.Location = new Point(135, 77); + panelPurple.Name = "panelPurple"; + panelPurple.Size = new Size(45, 45); + panelPurple.TabIndex = 5; + // + // panelBlue + // + panelBlue.BackColor = Color.Blue; + panelBlue.Location = new Point(135, 26); + panelBlue.Name = "panelBlue"; + panelBlue.Size = new Size(45, 45); + panelBlue.TabIndex = 4; + // + // pictureBoxObject + // + pictureBoxObject.Location = new Point(3, 21); + pictureBoxObject.Name = "pictureBoxObject"; + pictureBoxObject.Size = new Size(226, 159); + pictureBoxObject.TabIndex = 1; + pictureBoxObject.TabStop = false; + // + // buttonAdd + // + buttonAdd.Location = new Point(637, 204); + buttonAdd.Name = "buttonAdd"; + buttonAdd.Size = new Size(94, 29); + buttonAdd.TabIndex = 2; + buttonAdd.Text = "Добавить"; + buttonAdd.UseVisualStyleBackColor = true; + // + // buttonCancel + // + buttonCancel.Location = new Point(742, 204); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(94, 29); + buttonCancel.TabIndex = 3; + buttonCancel.Text = "Отмена"; + buttonCancel.UseVisualStyleBackColor = true; + // + // panel1 + // + panel1.Location = new Point(621, 33); + panel1.Name = "panel1"; + panel1.Size = new Size(224, 125); + panel1.TabIndex = 4; + // + // panelObject + // + panelObject.AllowDrop = true; + panelObject.Controls.Add(pictureBoxObject); + panelObject.Location = new Point(624, 12); + panelObject.Name = "panelObject"; + panelObject.Size = new Size(232, 186); + panelObject.TabIndex = 4; + // + // FormTruckConfig + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(857, 266); + Controls.Add(panelObject); + Controls.Add(buttonCancel); + Controls.Add(buttonAdd); + Controls.Add(groupBoxConfig); + Name = "FormTruckConfig"; + Text = "Создание объекта"; + groupBoxConfig.ResumeLayout(false); + groupBoxConfig.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit(); + groupBoxColours.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit(); + panelObject.ResumeLayout(false); + ResumeLayout(false); + } + + #endregion + + private GroupBox groupBoxConfig; + private Label labelSimpleObject; + private NumericUpDown numericUpDownWeight; + private Label labelWeight; + private NumericUpDown numericUpDownSpeed; + private Label labelSpeed; + private Label labelModifiedObject; + private CheckBox checkBoxAwning; + private CheckBox checkBoxTent; + private GroupBox groupBoxColours; + private Panel panelPurple; + private Panel panelWhite; + private Panel panelBlue; + private Panel panelGreen; + private Panel panelGray; + private Panel panelOrange; + private Panel panelBlack; + private Panel panelYellow; + private Panel panelPink; + private Panel panelRed; + private PictureBox pictureBoxObject; + private Button buttonAdd; + private Button buttonCancel; + private Panel panel1; + private Panel panelObject; + } +} \ No newline at end of file diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs new file mode 100644 index 0000000..2ed08cc --- /dev/null +++ b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs @@ -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 ProjectDumpTruck +{ + public partial class FormTruckConfig : Form + { + public FormTruckConfig() + { + InitializeComponent(); + } + } +} diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.resx b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.resx new file mode 100644 index 0000000..af32865 --- /dev/null +++ b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file