コード例 #1
0
      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);
      }
コード例 #2
0
 private void EditToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GridOptins.BeginEdit(false);
 }