示例#1
0
 private void btnEdit_Click(object sender, RoutedEventArgs e)
 {
     if (dgDodatnaUsluga.SelectedItem != null)
     {
         DpDodatnaUsluga dpDodatnaUsluga = new DpDodatnaUsluga((DodatnaUsluga)dgDodatnaUsluga.SelectedItem);
         dpDodatnaUsluga.ShowDialog();
     }
 }
示例#2
0
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            DpDodatnaUsluga dpDodatnaUsluga = new DpDodatnaUsluga();

            dpDodatnaUsluga.ShowDialog();
        }