示例#1
0
        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;
        }
示例#2
0
 private void TodoListsView_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     this.currentList = (ListItem)TodoListsView.SelectedItem;
     TasksFrame.Navigate(typeof(TaskPage), this.currentList);
 }