private void insertBtn_Click(object sender, EventArgs e) { queue.InsertAt((int)IndexInput.Value, (int)ValueInput.Value); Upd(); }