selectindex
This commit is contained in:
parent
4965346ea3
commit
970eb473e5
@ -92,6 +92,7 @@
|
||||
this.listBoxStorages.Name = "listBoxStorages";
|
||||
this.listBoxStorages.Size = new System.Drawing.Size(191, 94);
|
||||
this.listBoxStorages.TabIndex = 6;
|
||||
this.listBoxStorages.SelectedIndexChanged += new System.EventHandler(this.ListBoxObjects_SelectedIndexChanged);
|
||||
//
|
||||
// buttonAddCollection
|
||||
//
|
||||
|
@ -146,6 +146,7 @@ namespace AntiAircraftGun
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void ButtonUpdateCollection_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (listBoxStorages.SelectedIndex == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user