Beispiel #1
0
        private void btChange_Click(object sender, RoutedEventArgs e)
        {
            Button button = sender as Button;
            var    s      = button.DataContext as Servis;

            Forms.ChangeEndAddServis window1 = new Forms.ChangeEndAddServis(s);
            window1.ShowDialog();
            if (window1.DialogResult == true)
            {
                contoller = new ServisesContoller();
                Refresh(contoller.Servis);
            }
        }
Beispiel #2
0
 private void Add_Click(object sender, RoutedEventArgs e)
 {
     Forms.ChangeEndAddServis addServis = new Forms.ChangeEndAddServis();
     addServis.ShowDialog();
 }