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