Пример #1
0
        private void Button_Click_NextGrid(object sender, RoutedEventArgs e)
        {
            Count_Teacher_Subject_Grid += 5;
            teacher_subject_grid d = new teacher_subject_grid();

            d.Show();
            this.Close();
        }
Пример #2
0
        private void Button_Click_PreviousGrid(object sender, RoutedEventArgs e)
        {
            Count_Teacher_Subject_Grid -= 5;
            if (Count_Teacher_Subject_Grid == 0)
            {
                Count_Teacher_Subject_Grid = 5;
            }
            teacher_subject_grid d = new teacher_subject_grid();

            d.Show();
            this.Close();
        }