PIbd-23. Kislitsa E.D. Lab work 03 #3 #3
@ -84,7 +84,7 @@ pos)
|
||||
if (airplane != null)
|
||||
{
|
||||
int inRow = _pictureWidth / _placeSizeWidth;
|
||||
airplane.SetPosition(_pictureWidth - _placeSizeWidth - (i % inRow * _placeSizeWidth), (_collection.Count / inRow - 1 - i / inRow) * _placeSizeHeight + (_placeSizeHeight - _placeSizeHeight * 125 / 1000) / 2);
|
||||
airplane.SetPosition(_pictureWidth - _placeSizeWidth - (i % inRow * _placeSizeWidth) - _placeSizeWidth /10 * 2 , (_collection.Count / inRow - 1 - i / inRow) * _placeSizeHeight + (_placeSizeHeight - _placeSizeHeight * 170 / 1000) / 2);
|
||||
airplane.DrawTransport(g);
|
||||
|
||||
c++;
|
||||
|
14
AirFighter/FormAirplaneCollection.Designer.cs
generated
14
AirFighter/FormAirplaneCollection.Designer.cs
generated
@ -44,23 +44,23 @@
|
||||
this.toolGroupBox.Controls.Add(this.updateCollectionButton);
|
||||
this.toolGroupBox.Controls.Add(this.deleteAirplaneButton);
|
||||
this.toolGroupBox.Controls.Add(this.addAirplaneButton);
|
||||
this.toolGroupBox.Location = new System.Drawing.Point(688, 12);
|
||||
this.toolGroupBox.Location = new System.Drawing.Point(716, 12);
|
||||
this.toolGroupBox.Name = "toolGroupBox";
|
||||
this.toolGroupBox.Size = new System.Drawing.Size(251, 426);
|
||||
this.toolGroupBox.Size = new System.Drawing.Size(223, 426);
|
||||
this.toolGroupBox.TabIndex = 0;
|
||||
this.toolGroupBox.TabStop = false;
|
||||
this.toolGroupBox.Text = "Инструменты";
|
||||
//
|
||||
// maskedTextBox
|
||||
//
|
||||
this.maskedTextBox.Location = new System.Drawing.Point(20, 72);
|
||||
this.maskedTextBox.Location = new System.Drawing.Point(8, 72);
|
||||
this.maskedTextBox.Name = "maskedTextBox";
|
||||
this.maskedTextBox.Size = new System.Drawing.Size(125, 27);
|
||||
this.maskedTextBox.TabIndex = 4;
|
||||
//
|
||||
// updateCollectionButton
|
||||
//
|
||||
this.updateCollectionButton.Location = new System.Drawing.Point(20, 151);
|
||||
this.updateCollectionButton.Location = new System.Drawing.Point(6, 151);
|
||||
this.updateCollectionButton.Name = "updateCollectionButton";
|
||||
this.updateCollectionButton.Size = new System.Drawing.Size(215, 40);
|
||||
this.updateCollectionButton.TabIndex = 3;
|
||||
@ -70,7 +70,7 @@
|
||||
//
|
||||
// deleteAirplaneButton
|
||||
//
|
||||
this.deleteAirplaneButton.Location = new System.Drawing.Point(20, 105);
|
||||
this.deleteAirplaneButton.Location = new System.Drawing.Point(6, 105);
|
||||
this.deleteAirplaneButton.Name = "deleteAirplaneButton";
|
||||
this.deleteAirplaneButton.Size = new System.Drawing.Size(215, 40);
|
||||
this.deleteAirplaneButton.TabIndex = 2;
|
||||
@ -80,7 +80,7 @@
|
||||
//
|
||||
// addAirplaneButton
|
||||
//
|
||||
this.addAirplaneButton.Location = new System.Drawing.Point(20, 26);
|
||||
this.addAirplaneButton.Location = new System.Drawing.Point(8, 26);
|
||||
this.addAirplaneButton.Name = "addAirplaneButton";
|
||||
this.addAirplaneButton.Size = new System.Drawing.Size(215, 40);
|
||||
this.addAirplaneButton.TabIndex = 0;
|
||||
@ -92,7 +92,7 @@
|
||||
//
|
||||
this.pictureBoxCollection.Location = new System.Drawing.Point(12, 12);
|
||||
this.pictureBoxCollection.Name = "pictureBoxCollection";
|
||||
this.pictureBoxCollection.Size = new System.Drawing.Size(670, 426);
|
||||
this.pictureBoxCollection.Size = new System.Drawing.Size(698, 426);
|
||||
this.pictureBoxCollection.TabIndex = 1;
|
||||
this.pictureBoxCollection.TabStop = false;
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user