Пример #1
0
        private void View()
        {
            if (this.editChild == null)
            {
                this.editChild = new DepartmentEdit();
                PageAnimation.back.Children.Add(this.editChild);
            }

            Messenger.Default.Send(new ChildMessage() { currentObject = this.currentSelectItem.ItemContent, isEdit = false, action = ActionMenuButton.View, level = "Main" });
            PageAnimation.ToBack();
        }
Пример #2
0
        private void Insert()
        {
            if (this.editChild == null)
            {
                this.editChild = new DepartmentEdit();
                PageAnimation.back.Children.Add(this.editChild);
            }

            Messenger.Default.Send(new ChildMessage() { currentObject = null, isEdit = false, action = ActionMenuButton.Insert, level = "Main" });
            PageAnimation.ToBack();
        }