Exemplo n.º 1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            SF_ACTS_edit act_edit = new SF_ACTS_edit();

            act_edit.ShowDialog();

            NewUpdate();
        }
Exemplo n.º 2
0
        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("Строка не выбрана!");
            }
        }