Esempio n. 1
0
File: Card.cs Progetto: veyner/Magic
 public StudentCard(StudentTable studentTable, List <Student> dataStudent)
 {
     _dataStudent  = dataStudent;
     _studentTable = studentTable;
     InitializeComponent();
     _comboBoxManager = new ComboBoxManager();
     _manager         = new SaveNLoadManager();
     _comboBoxManager.LoadInfoToFacultyCombobox(FacultyComboBox);
     _comboBoxManager.LoadInfoToCourceComboBox(CourceComboBox);
     _manager.LoadDefaultPhoto(PhotoPictureBox);
 }
Esempio n. 2
0
 public StudentTable()
 {
     InitializeComponent();
     new ComboBoxManager().LoadInfoToCourceComboBox(CourceSearchComboBox);
     _manager        = new SaveNLoadManager();
     _curriculumInfo = _manager.LoadCurruculumData();
     courceList      = CreateCourceListForTreeView();
     _dataStudent    = _manager.LoadStudentData();
     _manager.LoadDefaultPhoto(PhotoPictureBox);
     LoadInfoToTree();
     //StudentCardsTreeView.HideSelection = false;
 }