public void AddQARec(QARecData data) { if (qarecs == null) { qarecs = new List <QARecData>(); } qarecs.Add(data); }
public QARecData GetData() { QARecData data = new QARecData(); data.Order = Order; data.Answer = this.editorAnswer.Text; data.Question = this.editorQuestion.Text; return(data); }
public QARec(QARecData data) { InitializeComponent(); this.Order = data.Order; this.editorAnswer.Text = data.Answer; this.editorQuestion.Text = data.Question; buttonRec.Clicked += StartRecordClicked; buttonStop.Clicked += StopClicked; buttonPause.Clicked += ButtonPause_Clicked; records = new List <RecordedView>(); }