private void button1_Copy_Click(object sender, RoutedEventArgs e) { if (children_listView.SelectedIndex == -1) { return; } _Children.AddNewChild newChildForm = new _Children.AddNewChild(); newChildForm.EditedChild = (Child)children_listView.SelectedItem; newChildForm.ShowDialog(); }
private void button1_Click(object sender, RoutedEventArgs e) { _Children.AddNewChild newChildForm = new _Children.AddNewChild(); newChildForm.ShowDialog(); }