Я храню такие значения, но хочу сохранить эти значения с помощью массива и хочу загрузить эти значения при открытии программы.
private void Button1_Click(object sender, EventArgs e)
{
Properties.Settings.Default.VibratorValue1 = vibrator_numericUpDown1.Text;
Properties.Settings.Default.VibratorValue2 = vibrator_numericUpDown2.Text;
Properties.Settings.Default.VibratorValue3 = vibrator_numericUpDown3.Text;
Properties.Settings.Default.VibratorValue4 = vibrator_numericUpDown4.Text;
Properties.Settings.Default.Save();
}
private void Panel1_load(object sender, PaintEventArgs e)
{
vib_numericUpDown1.Text = Properties.Settings.Default.VibValue1;
vib_numericUpDown2.Text = Properties.Settings.Default.VibValue2;
vib_numericUpDown3.Text = Properties.Settings.Default.VibValue3;
vib_numericUpDown4.Text = Properties.Settings.Default.VibValue4;
}