Наследование: INotifyPropertyChanged
Пример #1
0
        public CreateTaskPage()
        {
            this.InitializeComponent();
            var cmbtype = new UserStoryViewModel();
            comboBoxUserstory.ItemsSource = cmbtype.UserStorys;

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
        }
Пример #2
0
        private void CreateTasked(object obj)
        {
            var cmbtype = new UserStoryViewModel();

            Task              = new Model.Task();
            Task.title        = Title;
            Task.estimate     = estimate;
            Task.status       = status;
            Task.userStory    = id;
            Task.projectPhase = projectPhase;
            //Tasked task = new Tasked();
            //task.projectPhase = 1;
            //task.status = 2;
            //task.userStory = 2809;
            //task.title = "qqqq";
            CreateTask(Task);
        }
Пример #3
0
            private void CreateTasked(object obj)
            {
                var cmbtype = new UserStoryViewModel();
               Task = new Model.Task();
                Task.title = Title;
                Task.estimate = estimate;
                Task.status = status;
                Task.userStory =id ;
                Task.projectPhase = projectPhase;
                //Tasked task = new Tasked();
                //task.projectPhase = 1;
                //task.status = 2;
                //task.userStory = 2809;
                //task.title = "qqqq";
                CreateTask(Task);
                


            }