Beispiel #1
0
        private void Back_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            ContactWindow nextpage = new ContactWindow(this.userId);

            nextpage.ShowDialog();
        }
Beispiel #2
0
 private void Delete_Click(object sender, RoutedEventArgs e)
 {
     if (selectedContact != null)
     {
         _service.DeleteContact(selectedContact.Id);
         ContactWindow nextpage = new ContactWindow(userId);
         nextpage.Show();
         this.Close();
     }
     else
     {
         errorMessageContact.Content = "Ein Kontakt muss gewählt sein.";
     }
 }
Beispiel #3
0
        private void Contact_Click(object sender, RoutedEventArgs e)
        {
            ContactWindow nextpage = new ContactWindow(userId);

            nextpage.ShowDialog();
        }