private void NewToolStripMenuItem_Click(object sender, EventArgs e) { var indexOfNew = question.AnswerOptions.Count; question.AnswerOptions.Add(new QuestionOp("")); QuestionopionsBindingSource.ResetBindings(false); GridOptins.CurrentCell = GridOptins["Option", indexOfNew]; GridOptins.BeginEdit(false); }
private void EditToolStripMenuItem_Click(object sender, EventArgs e) { GridOptins.BeginEdit(false); }