I am storing values like this, but I want to store these values using array and want to load these values when I open program.
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;
}