Exemple #1
0
        public FastMoneyAnswers(Question q, FMAnswer a)
        {
            InitializeComponent();
            question = q;
            answer   = a;

            lbl_Question.Text = q.text;
            lbl_Answer.Text   = a.text;
            ab_fma.SetControlView(true);
            ab_fma.NewQuestion(q);
            ab_fma.HideAllAnswers();

            Program.CenterControl(lbl_Answer, true, false);
            Program.CenterControl(lbl_Question, true, false);
        }
Exemple #2
0
 public void ClearAnswer()
 {
     lbl_Points.Text = "";
     txt_Answer.Text = "";
     fma             = new FMAnswer();
 }
Exemple #3
0
 public void SetValues(FMAnswer f)
 {
     fma             = f;
     lbl_Points.Text = fma.points.ToString();
     txt_Answer.Text = fma.text;
 }