コード例 #1
0
        private void taskViewButtonCallBack()
        {
            vm            = new TaskCreaterVM();
            vm.Submitted += VmOnSubmitted;
            TaskCreationDialog dialog = new TaskCreationDialog();

            dialog.DataContext = vm;
            dialog.Show();
        }
コード例 #2
0
        public CreationTaskResult RunQuestion(ref DateTime?dateTime)
        {
            var questionWindow = new TaskCreationDialog();

            questionWindow.Modal = true;
            questionWindow.Run();
            dateTime = questionWindow.Date;
            return(questionWindow.creationTaskResult);
        }