Example #1
0
 public void AddQARec(QARecData data)
 {
     if (qarecs == null)
     {
         qarecs = new List <QARecData>();
     }
     qarecs.Add(data);
 }
Example #2
0
        public QARecData GetData()
        {
            QARecData data = new QARecData();

            data.Order    = Order;
            data.Answer   = this.editorAnswer.Text;
            data.Question = this.editorQuestion.Text;

            return(data);
        }
Example #3
0
        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>();
        }