private void Radio_CheckedFindPicture(object sender, EventArgs e) { CheckedRadioButton = sender as RadioButton; CheckedIndex = Convert.ToInt32(CheckedRadioButton.Name.Substring(1)); tb_Comment.Text = chosenBatch.GetPictureCommentByIndex(batchNr, dayNr, CheckedIndex); }