示例#1
0
        public void ViewFirstPlaceTextBox()
        {
            string  firstPlace    = "";
            Student firstPlacestu = Student.sortByRating()[0];

            FirstPlace.Text        = "First Place:" + "    " + firstPlacestu.getRating().ToString();
            firstPlace             = firstPlacestu.getFullName() + "    Group Number: " + firstPlacestu.getStudentGroup().getId().ToString();
            FirstPlaceTextBox.Text = firstPlace;
        }
示例#2
0
        public void ViewSecondPlaceTextBox()
        {
            string  secondPlace    = "";
            Student secondPlacestu = Student.sortByRating()[1];

            SecondPlace.Text = "Second Place:" + "    " + secondPlacestu.getRating().ToString();
            secondPlace      = secondPlacestu.getFullName() + "    Group Number: " + secondPlacestu.getStudentGroup().getId().ToString();

            SecondPlaceTextBox.Text = secondPlace;
        }
示例#3
0
        public void ViewThirdPlaceTextBox()

        {
            string  thirdPlace    = "";
            Student thirdPlaceStu = Student.sortByRating()[2];

            ThirdPlace.Text = "Third Place:" + "    " + thirdPlaceStu.getRating().ToString();
            thirdPlace      = thirdPlaceStu.getFullName() + "    Group Number: " + thirdPlaceStu.getStudentGroup().getId().ToString();

            ThirdPlaceTextBox.Text = thirdPlace;
        }