private void Button_Click(object sender, RoutedEventArgs e) { SF_in_doc_edit sf_edit = new SF_in_doc_edit(); sf_edit.ShowDialog(); NewUpdate(); }
private void Button_Click_1(object sender, RoutedEventArgs e) { if (_ListView.SelectedItem != null) { SF_in_doc_edit sf_edit = new SF_in_doc_edit(_ListView.SelectedItem as DataRowView); sf_edit.ShowDialog(); NewUpdate(); } else { MessageBox.Show("Строка не выбрана!"); } }