Esempio n. 1
0
 public Sorter(StudentBaseController controller)
 {
     DBController = controller;
     Throwed      = new List <int>();
     Selected     = new List <int>();
     SelectedInAllUniversities = new List <int>();
 }
        public SortResultWindow(StudentBaseController controller)
        {
            InitializeComponent();

            DBController     = controller;
            StudentList      = DBController.GetStudentList();
            UniversityList   = DBController.GetUniversityList();
            ResultLabel.Text = GetResults();
        }
Esempio n. 3
0
        //IEnumerable<University> UniversityList;

        public MainWindow()
        {
            InitializeComponent();

            PreferredUns.SelectedIndex = 0;
            SexSelect.SelectedIndex    = 0;
            DBController = new StudentBaseController();
            Sorter       = new Sorter(DBController);
            ShowSortingButtonIfPossible();

            StudentSurnameFieldPlaceholder = StudentSurnameField.Text;
            StudentNameFieldPlaceholder    = StudentNameField.Text;
            StudentSecNameFieldPlaceholder = StudentSecNameField.Text;
            TestRussianFieldPlaceholder    = TestRussianField.Text;
            TestMathFieldPlaceholder       = TestMathField.Text;
            TestITFieldPlaceholder         = TestITField.Text;

            SuccessStudentLabelPlaceholder = SuccessStudentLabel.Text;
        }