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); }
public void ClearAnswer() { lbl_Points.Text = ""; txt_Answer.Text = ""; fma = new FMAnswer(); }
public void SetValues(FMAnswer f) { fma = f; lbl_Points.Text = fma.points.ToString(); txt_Answer.Text = fma.text; }