コード例 #1
0
        private void StudentsDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Student     student = (Student)StudentsDataGrid.SelectedItem;
            DetailedBox win     = new DetailedBox("Modify", student, this);

            win.Show();
        }
コード例 #2
0
        private void AddButton_Click(object sender, RoutedEventArgs e)
        {
            DetailedBox win = new DetailedBox("Add", null, this);

            win.Show();
        }