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

            DBController     = controller;
            StudentList      = DBController.GetStudentList();
            UniversityList   = DBController.GetUniversityList();
            ResultLabel.Text = GetResults();
        }
Ejemplo 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;
        }