Example #1
0
 private void btnEdit_Click(object sender, RoutedEventArgs e)
 {
     if (dgNamestaj.SelectedItem != null)
     {
         DpNamestaj dpNamestaj = new DpNamestaj((Namestaj)dgNamestaj.SelectedItem);
         dpNamestaj.ShowDialog();
     }
 }
Example #2
0
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            DpNamestaj dpNamestaj = new DpNamestaj();

            dpNamestaj.ShowDialog();
        }