Редактирование комментариев.

This commit is contained in:
Артем Харламов 2022-11-29 14:05:57 +04:00
parent eda1a86cfb
commit eedc089196
3 changed files with 5 additions and 4 deletions

View File

@ -97,7 +97,7 @@
this.listBoxMaps.Name = "listBoxMaps";
this.listBoxMaps.Size = new System.Drawing.Size(198, 144);
this.listBoxMaps.TabIndex = 4;
this.listBoxMaps.SelectedIndexChanged += new System.EventHandler(this.listBoxMaps_SelectedIndexChanged);
this.listBoxMaps.SelectedIndexChanged += new System.EventHandler(this.ListBoxMaps_SelectedIndexChanged);
//
// buttonDeleteMap
//

View File

@ -190,7 +190,7 @@ namespace Stormtrooper
ReloadMaps();
}
private void listBoxMaps_SelectedIndexChanged(object sender, EventArgs e)
private void ListBoxMaps_SelectedIndexChanged(object sender, EventArgs e)
{
pictureBox.Image = _mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty].ShowSet();
}

View File

@ -16,7 +16,7 @@ namespace Stormtrooper
public partial class FormStormtrooperConfig : Form
{
/// <summary>
/// Переменная-выбранная машина
/// Переменная-выбранный самолёт
/// </summary>
Drawning _storm = null;
/// <summary>
@ -55,6 +55,7 @@ namespace Stormtrooper
_storm?.DrawTransport(gr);
pictureBoxObject.Image = bmp;
}
/// <summary>
/// Добавление события
/// </summary>
@ -180,7 +181,7 @@ namespace Stormtrooper
}
}
/// <summary>
/// Добавление машины
/// Добавление самолёта
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>