public TaskCreationPage(TaskCreationViewModel vm)
        {
            InitializeComponent();

            viewModel = vm;
            DataContext = viewModel;
        }
        public void ShowCreateTaskDialog()
        {
            TaskCreationViewModel t = new TaskCreationViewModel();

            requestTaskCreation?.Invoke(this, new EventArgs <TaskCreationViewModel>(t));
        }
 public void ShowCreateTaskDialog()
 {
     TaskCreationViewModel t = new TaskCreationViewModel();
     requestTaskCreation?.Invoke(this, new EventArgs<TaskCreationViewModel>(t));
 }