示例#1
0
        private void AdicionarB_Click(object sender, RoutedEventArgs e)
        {
            var a = new AddConvenioProcedimento(Proc_ID);

            a.ShowDialog();
            UpdateC();
        }
示例#2
0
 private void EditarB_Click(object sender, RoutedEventArgs e)
 {
     if (ConveniosDG.SelectedItem is Table1 table1)
     {
         var a = new AddConvenioProcedimento(Proc_ID, table1.Con_ID);
         a.ShowDialog();
         UpdateC();
     }
 }