private void taskViewButtonCallBack() { vm = new TaskCreaterVM(); vm.Submitted += VmOnSubmitted; TaskCreationDialog dialog = new TaskCreationDialog(); dialog.DataContext = vm; dialog.Show(); }
public CreationTaskResult RunQuestion(ref DateTime?dateTime) { var questionWindow = new TaskCreationDialog(); questionWindow.Modal = true; questionWindow.Run(); dateTime = questionWindow.Date; return(questionWindow.creationTaskResult); }