Сдано
This commit is contained in:
parent
bf4f0f9881
commit
8905614a0d
@ -207,7 +207,6 @@ namespace ElectricLocomotive.DrawningObject
|
||||
DirectionType.Down => _startPosY + EntityLocomotive.Step < _pictureHeight,
|
||||
};
|
||||
}
|
||||
|
||||
public IMoveableObject GetMoveableObject => new DrawningObjectLocomotive(this);
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,7 @@
|
||||
//
|
||||
CollectionPictureBox.Location = new Point(3, 0);
|
||||
CollectionPictureBox.Name = "CollectionPictureBox";
|
||||
CollectionPictureBox.Size = new Size(696, 554);
|
||||
CollectionPictureBox.Size = new Size(696, 501);
|
||||
CollectionPictureBox.TabIndex = 0;
|
||||
CollectionPictureBox.TabStop = false;
|
||||
//
|
||||
@ -61,7 +61,7 @@
|
||||
ToolsBox.Controls.Add(AddLocomotive);
|
||||
ToolsBox.Location = new Point(705, 12);
|
||||
ToolsBox.Name = "ToolsBox";
|
||||
ToolsBox.Size = new Size(200, 542);
|
||||
ToolsBox.Size = new Size(200, 489);
|
||||
ToolsBox.TabIndex = 1;
|
||||
ToolsBox.TabStop = false;
|
||||
ToolsBox.Text = "Инструменты";
|
||||
@ -74,14 +74,14 @@
|
||||
NaborGroupBox.Controls.Add(textBoxStorageName);
|
||||
NaborGroupBox.Location = new Point(7, 22);
|
||||
NaborGroupBox.Name = "NaborGroupBox";
|
||||
NaborGroupBox.Size = new Size(185, 329);
|
||||
NaborGroupBox.Size = new Size(185, 274);
|
||||
NaborGroupBox.TabIndex = 4;
|
||||
NaborGroupBox.TabStop = false;
|
||||
NaborGroupBox.Text = "Наборы";
|
||||
//
|
||||
// ButtomRemoveNabor
|
||||
//
|
||||
ButtomRemoveNabor.Location = new Point(6, 275);
|
||||
ButtomRemoveNabor.Location = new Point(6, 212);
|
||||
ButtomRemoveNabor.Name = "ButtomRemoveNabor";
|
||||
ButtomRemoveNabor.Size = new Size(173, 48);
|
||||
ButtomRemoveNabor.TabIndex = 3;
|
||||
@ -95,7 +95,7 @@
|
||||
listBoxStorage.ItemHeight = 15;
|
||||
listBoxStorage.Location = new Point(6, 112);
|
||||
listBoxStorage.Name = "listBoxStorage";
|
||||
listBoxStorage.Size = new Size(173, 139);
|
||||
listBoxStorage.Size = new Size(173, 94);
|
||||
listBoxStorage.TabIndex = 2;
|
||||
listBoxStorage.SelectedIndexChanged += listBoxStorage_SelectedIndexChanged;
|
||||
//
|
||||
@ -118,14 +118,14 @@
|
||||
//
|
||||
// Input
|
||||
//
|
||||
Input.Location = new Point(6, 409);
|
||||
Input.Location = new Point(7, 354);
|
||||
Input.Name = "Input";
|
||||
Input.Size = new Size(186, 23);
|
||||
Input.TabIndex = 3;
|
||||
//
|
||||
// RefreshCollection
|
||||
//
|
||||
RefreshCollection.Location = new Point(7, 490);
|
||||
RefreshCollection.Location = new Point(7, 435);
|
||||
RefreshCollection.Name = "RefreshCollection";
|
||||
RefreshCollection.Size = new Size(187, 46);
|
||||
RefreshCollection.TabIndex = 2;
|
||||
@ -135,7 +135,7 @@
|
||||
//
|
||||
// DelLocomotive
|
||||
//
|
||||
DelLocomotive.Location = new Point(6, 438);
|
||||
DelLocomotive.Location = new Point(7, 383);
|
||||
DelLocomotive.Name = "DelLocomotive";
|
||||
DelLocomotive.Size = new Size(187, 46);
|
||||
DelLocomotive.TabIndex = 1;
|
||||
@ -145,7 +145,7 @@
|
||||
//
|
||||
// AddLocomotive
|
||||
//
|
||||
AddLocomotive.Location = new Point(5, 357);
|
||||
AddLocomotive.Location = new Point(5, 302);
|
||||
AddLocomotive.Name = "AddLocomotive";
|
||||
AddLocomotive.Size = new Size(187, 46);
|
||||
AddLocomotive.TabIndex = 0;
|
||||
@ -157,7 +157,7 @@
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(917, 566);
|
||||
ClientSize = new Size(910, 507);
|
||||
Controls.Add(ToolsBox);
|
||||
Controls.Add(CollectionPictureBox);
|
||||
Name = "FormLocomotiveCollection";
|
||||
|
@ -46,7 +46,6 @@ namespace ElectricLocomotive.Generics
|
||||
_locomotivesStorage.Add(name, new LocomotivesGenericCollection<DrawningLocomotive, DrawningObjectLocomotive>(_pictureWidth, _pictureHeight));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Удаление набора
|
||||
/// </summary>
|
||||
@ -58,8 +57,6 @@ namespace ElectricLocomotive.Generics
|
||||
_locomotivesStorage.Remove(name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Доступ к набору
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user