private void Tabela_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Student           student           = (Student)(Tabela.SelectedItem);
            StudentEditDialog studentEditDialog = new StudentEditDialog(student, Tabela, ListaStudentow);

            studentEditDialog.Show();
        }
Exemple #2
0
        private void StudentDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var student = (Student)StudentDataGrid.SelectedItem;

            var window = new StudentEditDialog(student);

            window.Show();
        }
Exemple #3
0
        private void StudentsDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (StudentsDataGrid.SelectedItem == null)
            {
                return;
            }
            var s = StudentsDataGrid.SelectedItem as Student;

            var window = new StudentEditDialog(s);

            window.Show();
        }