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; }
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(); }
public MainPage() { InitializeComponent(); http = new httpService(); }