PIbd-23. Ivanov V.N. Lab Work 03 #3

Closed
Vyacheslav wants to merge 3 commits from LabWork3 into LabWork2
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 34ea93003f - Show all commits

View File

@ -46,7 +46,7 @@
toolsLabel.Controls.Add(maskedTextBoxNumber);
toolsLabel.Controls.Add(addBus);
toolsLabel.Controls.Add(label1);
toolsLabel.Location = new Point(581, -2);
toolsLabel.Location = new Point(678, -2);
toolsLabel.Name = "toolsLabel";
toolsLabel.Size = new Size(221, 451);
toolsLabel.TabIndex = 0;
@ -101,7 +101,7 @@
//
pictureBoxCollection.Location = new Point(1, -2);
pictureBoxCollection.Name = "pictureBoxCollection";
pictureBoxCollection.Size = new Size(579, 451);
pictureBoxCollection.Size = new Size(676, 451);
pictureBoxCollection.TabIndex = 1;
pictureBoxCollection.TabStop = false;
//
@ -109,7 +109,7 @@
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
ClientSize = new Size(900, 450);
Controls.Add(pictureBoxCollection);
Controls.Add(toolsLabel);
Name = "FormBusCollection";

View File

@ -78,8 +78,7 @@ namespace PIbd_23_Ivanov_V.N._DoubleDeckerBus._Base.Generics
/// <param name="collect"></param>
/// <param name="pos"></param>
/// <returns></returns>
public static bool operator -(TheBusesGenericCollection<T, U> collect, int
pos)
public static bool operator -(TheBusesGenericCollection<T, U> collect, int pos)
{
T? obj = collect._collection.Get(pos);
if (obj != null)