private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { stepf = Convert.ToInt32((string) comboBox1.SelectedItem); }