Esempio n. 1
0
 /// <summary>
 /// обновление данных в treeview
 /// </summary>
 private void RefreshInfo()
 {
     StudentCardsTreeView.Nodes.Clear();
     _dataStudent = _manager.LoadStudentData();
     LoadInfoToTree();
     StudentCardsTreeView.Refresh();
     StudentCardsTreeView.ExpandAll();
     StudentCardsTreeView.Nodes[0]?.EnsureVisible();
 }
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;
 }