private void View()
 {
     if (this.editChild == null)
     {
         this.editChild = new DepartmentTypeEdit();
         PageAnimation.back.Children.Add(this.editChild);
     }
     Messenger.Default.Send(new ChildMessage()
     {
         currentObject = this.currentSelectItem.ItemContent, isEdit = false, action = ActionMenuButton.View, level = "Main"
     });
     PageAnimation.ToBack();
 }
 private void Insert()
 {
     if (this.editChild == null)
     {
         this.editChild = new DepartmentTypeEdit();
         PageAnimation.back.Children.Add(this.editChild);
     }
     Messenger.Default.Send(new ChildMessage()
     {
         currentObject = null, isEdit = false, action = ActionMenuButton.Insert, level = "Main"
     });
     PageAnimation.ToBack();
 }