2024-02-28 23:06:50 +04:00
|
|
|
|
using static System.Net.Mime.MediaTypeNames;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
using System.Xml.Linq;
|
|
|
|
|
|
|
|
|
|
namespace ProjectElectroTrans
|
|
|
|
|
{
|
|
|
|
|
partial class FormElectroTrans
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-03-13 19:49:07 +04:00
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
2024-02-28 23:06:50 +04:00
|
|
|
|
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
pictureBoxElectroTrans = new PictureBox();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
buttonRight = new Button();
|
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
buttonStrategyStep = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxElectroTrans).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxElectroTrans
|
|
|
|
|
//
|
|
|
|
|
pictureBoxElectroTrans.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxElectroTrans.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxElectroTrans.Name = "pictureBoxElectroTrans";
|
|
|
|
|
pictureBoxElectroTrans.Size = new Size(923, 597);
|
|
|
|
|
pictureBoxElectroTrans.TabIndex = 0;
|
|
|
|
|
pictureBoxElectroTrans.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonLeft.Location = new Point(787, 550);
|
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(35, 35);
|
|
|
|
|
buttonLeft.TabIndex = 2;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonUp.Location = new Point(828, 509);
|
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(35, 35);
|
|
|
|
|
buttonUp.TabIndex = 3;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUp.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonDown.Location = new Point(828, 550);
|
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(35, 35);
|
|
|
|
|
buttonDown.TabIndex = 4;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonRight.Location = new Point(869, 550);
|
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(35, 35);
|
|
|
|
|
buttonRight.TabIndex = 5;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRight.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(790, 12);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(121, 23);
|
|
|
|
|
comboBoxStrategy.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// buttonStrategyStep
|
|
|
|
|
//
|
|
|
|
|
buttonStrategyStep.Location = new Point(836, 41);
|
|
|
|
|
buttonStrategyStep.Name = "buttonStrategyStep";
|
|
|
|
|
buttonStrategyStep.Size = new Size(75, 23);
|
|
|
|
|
buttonStrategyStep.TabIndex = 8;
|
|
|
|
|
buttonStrategyStep.Text = "Шаг";
|
|
|
|
|
buttonStrategyStep.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonStrategyStep.Click += ButtonStrategyStep_Click;
|
|
|
|
|
//
|
2024-03-13 19:49:07 +04:00
|
|
|
|
// FormSportCar
|
2024-02-28 23:06:50 +04:00
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(923, 597);
|
|
|
|
|
Controls.Add(buttonStrategyStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(pictureBoxElectroTrans);
|
|
|
|
|
Name = "FormElectroTrans";
|
2024-03-13 19:49:07 +04:00
|
|
|
|
Text = "Электровоз";
|
2024-02-28 23:06:50 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxElectroTrans).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private PictureBox pictureBoxElectroTrans;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonDown;
|
|
|
|
|
private Button buttonRight;
|
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button buttonStrategyStep;
|
|
|
|
|
}
|
2024-03-13 19:49:07 +04:00
|
|
|
|
}
|