コード例 #1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Block_matrix_Sprav_edit Block_matrix_Edit = new Block_matrix_Sprav_edit();

            Block_matrix_Edit.ShowDialog();

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

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