This commit is contained in:
Вячеслав Иванов 2023-10-17 19:40:49 +04:00
parent f57b0374f4
commit 34ea93003f
2 changed files with 4 additions and 5 deletions

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)