private void btnDeleteList_Click(object sender, RoutedEventArgs e) { if (working) { return; } this.working = true; //frame does not refresh or navigate MySplitView.IsPaneOpen = !MySplitView.IsPaneOpen; ListView.RemoveList(this.currentList, SenderType.User); TasksFrame.Navigate(typeof(BlankPage)); this.working = false; }
private void TodoListsView_SelectionChanged(object sender, SelectionChangedEventArgs e) { this.currentList = (ListItem)TodoListsView.SelectedItem; TasksFrame.Navigate(typeof(TaskPage), this.currentList); }