public AnswersEditorForm(Dataset ds, int qId)
 {
     InitializeComponent();
     copyDataset = (Dataset)ds.Copy();
     dataset     = (Dataset)ds.Copy();
     questionId  = qId;
     data        = ds;
 }
 public SelectPassageQuestionForm(Dataset data, int setId)
 {
     t = (Dataset)data.Copy();
     //this.createForm = createForm;
     this.setId = setId;
     InitializeComponent();
 }
 public SelectAnswerForm(Dataset data, int questionId)
 {
     InitializeComponent();
     this.questionId = questionId;
     copyDataset     = (Dataset)data.Copy();
     dataset         = copyDataset;
 }
 public SelectQuestionForm(Dataset data, int setId, DbObject dbObject)
 {
     ds            = (Dataset)data.Copy();
     this.setId    = setId;
     this.dbObject = dbObject;
     InitializeComponent();
 }
Exemple #5
0
 public CreateNewQuestionForm(Dataset.QuestionsExDataTable ds, Dataset data, int setId)
 {
     questionTable = ds;
     this.data     = data;
     this.setId    = setId;
     dataSet       = (Dataset)data.Copy();
     InitializeComponent();
 }