コード例 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Zayavka_edit Zayavka_Edit = new Zayavka_edit();

            Zayavka_Edit.ShowDialog();

            NewUpdate();
        }
コード例 #2
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            if (_ListView.SelectedItem != null)
            {
                Zayavka_edit Zayavka_Edit = new Zayavka_edit(_ListView.SelectedItem as DataRowView);
                Zayavka_Edit.ShowDialog();

                NewUpdate();
            }
            else
            {
                MessageBox.Show("Строка не выбрана!");
            }
        }