Esempio n. 1
0
        private void fillTaskInfo()
        {
            this.tasks = userObject.getUserToDoList()[0].getTaskListList();


            this.TitleTextBox.Text = tasks[taskIndex].getTitle();
            this.descTextBox.Text  = tasks[taskIndex].getDescription();

            bool repeating = tasks[taskIndex].getRepeatability();

            if (repeating == true)
            {
                this.yesButton.IsChecked = true;
            }
            else if (repeating == false)
            {
                this.noButton.IsChecked = true;
            }
        }
Esempio n. 2
0
        private void fillTaskInfo()
        {
            this.tasks = userObject.getUserToDoList()[0].getTaskList();


            this.TaskTitleText.Text       = tasks[taskIndex].getTitle();
            this.TaskDescriptionText.Text = tasks[taskIndex].getDescription();

            this.repeating = tasks[taskIndex].getRepeatability();
            if (repeating == true)
            {
                this.RepeatingText.Text = "Yes";
            }
            else if (repeating == false)
            {
                this.RepeatingText.Text = "No";
            }
        }