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