private void Mail_Clicked(object sender, EventArgs e)
        {
            List <Stand> liveStands = StandController.GetStands();

            List <Party> parties       = this.GetAdvice();
            var          sortedParties = parties.OrderBy(party => party.adviced_percentage).ToList();

            sortedParties.Reverse();

            Navigation.PushAsync(new MailView(sortedParties));
        }
        private void Reset_Clicked(object sender, EventArgs e)
        {
            List <Stand> liveStands = StandController.GetStands();

            Navigation.PushAsync(new MainPage());
        }
예제 #3
0
        private void Back_Clicked(object sender, EventArgs e)
        {
            List <Stand> liveStands = StandController.GetStands();

            Navigation.PopAsync();
        }
예제 #4
0
 private void InitilizeData()
 {
     liveStands         = StandController.GetStands();
     PartiesStandPoints = StandPointsController.GetStandPoints();
 }