public newMark(StudentsWindow _prevWindow, Student _marks) { InitializeComponent(); marks = _marks; prevWindow = _prevWindow; }
private void Button_Click_1(object sender, RoutedEventArgs e) { StudentsWindow studentsWindow = new StudentsWindow(this, groups, students); studentsWindow.Show(); Hide(); }
private void Button_Click_2(object sender, RoutedEventArgs e) { StudentsWindow studentsWindow = new StudentsWindow(mainWindow, groups, students); studentsWindow.Show(); check = true; Close(); }