예제 #1
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            AddEditWindow editWindow = new AddEditWindow();

            editWindow.Show();
            // editWindow.textBoxMovieName = dataGrid.SelectedItem);?????
        }
예제 #2
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            AddEditWindow AddWindow = new AddEditWindow();

            if (AddWindow.DialogResult == true)
            {
                AddWindow.ShowDialog();
            }
        }