Ejemplo n.º 1
0
        public AnswerPage(CurrentQoestion nextQuestion)
        {
            InitializeComponent();

            this.nextQuestion  = nextQuestion;
            httpService        = new httpService();
            answer1Button.Text = nextQuestion.questionAnswers[0].answerText;
            answer2Button.Text = nextQuestion.questionAnswers[1].answerText;
            answer3Button.Text = nextQuestion.questionAnswers[2].answerText;
            answer4Button.Text = nextQuestion.questionAnswers[3].answerText;
        }
Ejemplo n.º 2
0
        public App()
        {
            InitializeComponent();

            curerrentQuestion = new CurrentQoestion("0", "", new QuestionAnswer[] { }, "", "");
            httpServices      = new httpService();
            TimeSpan ts = new TimeSpan(0, 0, 5);

            MainPage page = new MainPage();

            MainPage = new NavigationPage(page);
            //   MainPage = new MainPage();
        }
Ejemplo n.º 3
0
 public MainPage()
 {
     InitializeComponent();
     http = new httpService();
 }