конец?

This commit is contained in:
repka228 2024-05-05 15:54:23 +04:00
parent 6bdae3afef
commit beb3b23a63
3 changed files with 21 additions and 35 deletions

View File

@ -41,7 +41,7 @@
pictureBoxAccordionBus.Dock = DockStyle.Fill;
pictureBoxAccordionBus.Location = new Point(0, 0);
pictureBoxAccordionBus.Name = "pictureBoxAccordionBus";
pictureBoxAccordionBus.Size = new Size(800, 450);
pictureBoxAccordionBus.Size = new Size(714, 390);
pictureBoxAccordionBus.SizeMode = PictureBoxSizeMode.AutoSize;
pictureBoxAccordionBus.TabIndex = 5;
pictureBoxAccordionBus.TabStop = false;
@ -51,7 +51,7 @@
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonUp.BackgroundImage = (Image)resources.GetObject("buttonUp.BackgroundImage");
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
buttonUp.Location = new Point(712, 368);
buttonUp.Location = new Point(626, 308);
buttonUp.Name = "buttonUp";
buttonUp.Size = new Size(35, 35);
buttonUp.TabIndex = 7;
@ -64,7 +64,7 @@
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonLeft.BackgroundImage = (Image)resources.GetObject("buttonLeft.BackgroundImage");
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
buttonLeft.Location = new Point(671, 409);
buttonLeft.Location = new Point(585, 349);
buttonLeft.Name = "buttonLeft";
buttonLeft.Size = new Size(35, 35);
buttonLeft.TabIndex = 8;
@ -77,7 +77,7 @@
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonDown.BackgroundImage = (Image)resources.GetObject("buttonDown.BackgroundImage");
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
buttonDown.Location = new Point(712, 409);
buttonDown.Location = new Point(626, 349);
buttonDown.Name = "buttonDown";
buttonDown.Size = new Size(35, 35);
buttonDown.TabIndex = 9;
@ -90,7 +90,7 @@
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
buttonRight.Location = new Point(753, 409);
buttonRight.Location = new Point(667, 349);
buttonRight.Name = "buttonRight";
buttonRight.Size = new Size(35, 35);
buttonRight.TabIndex = 10;
@ -104,7 +104,7 @@
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
comboBoxStrategy.FormattingEnabled = true;
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
comboBoxStrategy.Location = new Point(667, 12);
comboBoxStrategy.Location = new Point(581, 12);
comboBoxStrategy.Name = "comboBoxStrategy";
comboBoxStrategy.Size = new Size(121, 23);
comboBoxStrategy.TabIndex = 12;
@ -112,7 +112,7 @@
// buttonStrategyStep
//
buttonStrategyStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
buttonStrategyStep.Location = new Point(713, 41);
buttonStrategyStep.Location = new Point(627, 41);
buttonStrategyStep.Name = "buttonStrategyStep";
buttonStrategyStep.Size = new Size(75, 23);
buttonStrategyStep.TabIndex = 13;
@ -124,7 +124,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
ClientSize = new Size(714, 390);
Controls.Add(buttonStrategyStep);
Controls.Add(comboBoxStrategy);
Controls.Add(buttonRight);

View File

@ -31,7 +31,6 @@
groupBoxTools = new GroupBox();
panelCompanyTools = new Panel();
buttonAddBus = new Button();
buttonAddAccordionBus = new Button();
maskedTextBoxPosition = new MaskedTextBox();
buttonRefresh = new Button();
buttonDelBus = new Button();
@ -71,16 +70,15 @@
// panelCompanyTools
//
panelCompanyTools.Controls.Add(buttonAddBus);
panelCompanyTools.Controls.Add(buttonAddAccordionBus);
panelCompanyTools.Controls.Add(maskedTextBoxPosition);
panelCompanyTools.Controls.Add(buttonRefresh);
panelCompanyTools.Controls.Add(buttonDelBus);
panelCompanyTools.Controls.Add(buttonGoToCheck);
panelCompanyTools.Dock = DockStyle.Bottom;
panelCompanyTools.Enabled = false;
panelCompanyTools.Location = new Point(3, 293);
panelCompanyTools.Location = new Point(3, 441);
panelCompanyTools.Name = "panelCompanyTools";
panelCompanyTools.Size = new Size(225, 303);
panelCompanyTools.Size = new Size(225, 155);
panelCompanyTools.TabIndex = 10;
//
// buttonAddBus
@ -94,20 +92,9 @@
buttonAddBus.UseVisualStyleBackColor = true;
buttonAddBus.Click += ButtonAddBus_Click;
//
// buttonAddAccordionBus
//
buttonAddAccordionBus.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
buttonAddAccordionBus.Location = new Point(4, 38);
buttonAddAccordionBus.Name = "buttonAddAccordionBus";
buttonAddAccordionBus.Size = new Size(212, 25);
buttonAddAccordionBus.TabIndex = 2;
buttonAddAccordionBus.Text = "Добавление автобуса с гармошкой";
buttonAddAccordionBus.UseVisualStyleBackColor = true;
buttonAddAccordionBus.Click += ButtonAddBus_Click;
//
// maskedTextBoxPosition
//
maskedTextBoxPosition.Location = new Point(4, 69);
maskedTextBoxPosition.Location = new Point(4, 38);
maskedTextBoxPosition.Mask = "00";
maskedTextBoxPosition.Name = "maskedTextBoxPosition";
maskedTextBoxPosition.Size = new Size(212, 23);
@ -117,7 +104,7 @@
// buttonRefresh
//
buttonRefresh.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
buttonRefresh.Location = new Point(4, 156);
buttonRefresh.Location = new Point(4, 125);
buttonRefresh.Name = "buttonRefresh";
buttonRefresh.Size = new Size(209, 22);
buttonRefresh.TabIndex = 7;
@ -128,7 +115,7 @@
// buttonDelBus
//
buttonDelBus.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
buttonDelBus.Location = new Point(4, 98);
buttonDelBus.Location = new Point(4, 67);
buttonDelBus.Name = "buttonDelBus";
buttonDelBus.Size = new Size(209, 23);
buttonDelBus.TabIndex = 5;
@ -139,7 +126,7 @@
// buttonGoToCheck
//
buttonGoToCheck.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
buttonGoToCheck.Location = new Point(4, 127);
buttonGoToCheck.Location = new Point(4, 96);
buttonGoToCheck.Name = "buttonGoToCheck";
buttonGoToCheck.Size = new Size(209, 23);
buttonGoToCheck.TabIndex = 6;
@ -206,7 +193,7 @@
radioButtonList.AutoSize = true;
radioButtonList.Location = new Point(150, 47);
radioButtonList.Name = "radioButtonList";
radioButtonList.Size = new Size(65, 19);
radioButtonList.Size = new Size(66, 19);
radioButtonList.TabIndex = 3;
radioButtonList.TabStop = true;
radioButtonList.Text = "Список";
@ -235,7 +222,7 @@
labelCollectionName.AutoSize = true;
labelCollectionName.Location = new Point(3, 0);
labelCollectionName.Name = "labelCollectionName";
labelCollectionName.Size = new Size(123, 15);
labelCollectionName.Size = new Size(125, 15);
labelCollectionName.TabIndex = 0;
labelCollectionName.Text = "Название коллекции:";
//
@ -283,7 +270,6 @@
private ComboBox comboBoxSelectorCompany;
private Button buttonDelBus;
private MaskedTextBox maskedTextBoxPosition;
private Button buttonAddAccordionBus;
private Button buttonAddBus;
private PictureBox pictureBox;
private Button buttonRefresh;

View File

@ -184,21 +184,21 @@
//
numericUpDownSpeed.Location = new Point(82, 17);
numericUpDownSpeed.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
numericUpDownSpeed.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
numericUpDownSpeed.Minimum = new decimal(new int[] { 10, 0, 0, 0 });
numericUpDownSpeed.Name = "numericUpDownSpeed";
numericUpDownSpeed.Size = new Size(88, 23);
numericUpDownSpeed.TabIndex = 5;
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
numericUpDownSpeed.Value = new decimal(new int[] { 10, 0, 0, 0 });
//
// numericUpDownWeight
//
numericUpDownWeight.Location = new Point(82, 45);
numericUpDownWeight.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
numericUpDownWeight.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
numericUpDownWeight.Maximum = new decimal(new int[] { 120, 0, 0, 0 });
numericUpDownWeight.Minimum = new decimal(new int[] { 30, 0, 0, 0 });
numericUpDownWeight.Name = "numericUpDownWeight";
numericUpDownWeight.Size = new Size(88, 23);
numericUpDownWeight.TabIndex = 4;
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
numericUpDownWeight.Value = new decimal(new int[] { 30, 0, 0, 0 });
//
// labelWeight
//