Exemplo n.º 1
0
        public MainWindow()
        {
            StudentData.addTestStudents();

            if (user == null)
            {
                Login Log1 = new Login();
                this.Close();
                Log1.Show();
            }
            else
            {
                addFaculties();
                addDegree();
                FillStudStatusChoices();
                InitializeComponent();
                currentUser.Content = "Current user: "******"  as:  " + user.role.ToString();
            }
        }