private void TaskVM_requestSelectionCreation(object sender, EventArgs<SelectionCreationViewModel> e)
        {
            CreateSelectionPage t = new CreateSelectionPage(e.Data);

            LayoutDocument d = new LayoutDocument();
            d.Title = e.Data.ParentTask + "/Создание выборки";
            d.Content = t;

            parentArea.Children.Add(d);
            d.IsActive = true;
        }
        private void CreateSelectionCreationPage(SelectionCreationViewModel obj)
        {
            CreateSelectionPage t = new CreateSelectionPage(obj);

            OnShowPage?.Invoke(obj.ParentTask + "/Создание выборки", t);
        }