private void butt3_Click(object sender, RoutedEventArgs e)
        {
            var         selectItem = (Student)lstbox.SelectedValue;
            EditStudent subWindow  = new EditStudent(selectItem);

            subWindow.Owner = this;
            subWindow.Show();
        }
        private void butt1_Click(object sender, RoutedEventArgs e)
        {
            EditStudent subWindow = new EditStudent();

            subWindow.Owner = this;
            subWindow.Show();

            //using (var db = new ProjectDbContext())
            //{
            //    Student item = new Student { Name = "Evgenii", Dni = "123" };
            //    db.Students.Add(item);
            //    db.SaveChanges();
            //    lstbox.ItemsSource = db.Students.ToList();
            //}
        }