private void buttonControlAdd_Click(object sender, EventArgs e) {
for (int i = 0; i < Interface.CurrentControls.Length; i++) {
listviewControls.Items[i].Selected = false;
}
int n = Interface.CurrentControls.Length;
Array.Resize<Interface.Control>(ref Interface.CurrentControls, n + 1);
Interface.CurrentControls[n].Command = Interface.Command.None;
ListViewItem Item = new ListViewItem(new string[] { "", "", "", "" });
UpdateControlListElement(Item, n, true);
listviewControls.Items.Add(Item);
Item.Selected = true;
}