示例#1
0
        private void Create_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            CreateToDoList nextpage = new CreateToDoList(_userId, 0);

            nextpage.ShowDialog();
        }
示例#2
0
 private void Edit_Click(object sender, RoutedEventArgs e)
 {
     if (_toDoId == 0)
     {
         errorMessageContact.Content = "Eine Todo-Liste muss zum Beareiten ausgewählt werden.";
     }
     else
     {
         this.Close();
         CreateToDoList nextpage = new CreateToDoList(_userId, _toDoId);
         nextpage.ShowDialog();
     }
 }