Exemplo n.º 1
0
        private void change_Click_1(object sender, RoutedEventArgs e)
        {
            var selected = (DataRowView)dataGrid1.SelectedItems[0];

            //MessageBox.Show(selected[0].ToString());
            if (selected != null)
            {
                WpfApplication1.Authors win1 = new WpfApplication1.Authors(selected);
                win1.Show();
            }
            // win1.year =
        }
Exemplo n.º 2
0
 private void insert_Click(object sender, RoutedEventArgs e)
 {
     WpfApplication1.Authors win1 = new WpfApplication1.Authors();
     win1.Show();
 }