private void Button_Click_NextGrid(object sender, RoutedEventArgs e) { Count_Grid += 5; students_grid d = new students_grid(); d.Show(); this.Close(); }
private void Button_Click_PreviousGrid(object sender, RoutedEventArgs e) { Count_Grid -= 5; if (Count_Grid == 0) { Count_Grid = 5; } students_grid d = new students_grid(); d.Show(); this.Close(); }