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