конец?

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

View File

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

View File

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