Exemple #1
0
        public void MarkAsCompleteButtonClickHandler(object sender, RoutedEventArgs e)
        {
            MarkAsCompleteClickArgs eventArgs = new MarkAsCompleteClickArgs();

            eventArgs.Page = this;

            MarkAsCompleteButtonClick?.Invoke(sender, eventArgs);
        }
Exemple #2
0
        public void MarkAsCompleteButtonClick(object sender, MarkAsCompleteClickArgs e)
        {
            Task task;

            task = TaskList.Find(x => x.TaskPage.Equals(e.Page));
            task.MarkTaskAsComplete();
            ChangePage(mainPage);
        }