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); }
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; }