Esempio n. 1
0
        private void _btnEdit_Click(object sender, EventArgs e)
        {
            int index = _lbSelection.SelectedIndex;

            if (index != -1)
            {
                SingleSelectionFieldDlg dlg = new SingleSelectionFieldDlg(_mainForm, IndexToField(index));
                dlg.ShowDialog();
            }
        }
Esempio n. 2
0
        private void _btnEdit_Click(object sender, EventArgs e)
        {
            int index = _lbSelection.SelectedIndex;

            if (index != -1)
            {
                SingleSelectionFieldDlg dlg = new SingleSelectionFieldDlg(_mainForm, _omrAnswerAreaField.Answers[index]);
                dlg.ShowDialog();
            }
        }