Exemple #1
0
        private void change_Click(object sender, RoutedEventArgs e)
        {
            int      i  = dataGridMovies.SelectedIndex;
            NewMovie nm = new NewMovie(i);

            nm.ShowDialog();
        }
Exemple #2
0
        private void new_Click(object sender, RoutedEventArgs e)
        {
            NewMovie nm = new NewMovie(-1);

            nm.ShowDialog();
        }