private void buttonNext_Click(object sender, EventArgs e) { if (radioButton1.Checked == true) { a.setStart(); } a.Find(); }