public TeacherView() { _teacherCollectionView = new TeacherCollectionView(); _teacherFormView = new TeacherFormView(); InitializeComponent(); teacherCollectionFrame.Navigate(_teacherCollectionView); teacherFormFrame.Navigate(_teacherFormView); _teacherCollectionView.setTeacherFormView(_teacherFormView); _teacherFormView.setTeacherCollectionView(_teacherCollectionView); }
public void setTeacherCollectionView(TeacherCollectionView teacherCollectionView) { _teacherCollectionView = teacherCollectionView; }