private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { MOI.Entry entry = (MOI.Entry)listBox1.SelectedItem; n1.Value = entry.values[0]; n2.Value = entry.values[1]; n3.Value = entry.values[2]; n4.Value = entry.values[3]; n5.Value = entry.values[4]; n6.Value = entry.values[5]; n7.Value = entry.values[6]; n8.Value = entry.values[7]; }
private void listBox2_SelectedIndexChanged(object sender, EventArgs e) { MOI.Entry entry = (MOI.Entry)listBox2.SelectedItem; u1.Value = entry.values[0]; u2.Value = entry.values[1]; }