示例#1
0
 private void View()
 {
     if (this.editChild == null)
     {
         this.editChild = new AllCodeEdit();
         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 AllCodeEdit();
         PageAnimation.back.Children.Add(this.editChild);
     }
     Messenger.Default.Send(new ChildMessage()
     {
         currentObject = null, isEdit = false, action = ActionMenuButton.Insert, level = "Main"
     });
     PageAnimation.ToBack();
 }
 private void Edit()
 {
     if (this.editChild == null)
     {
         this.editChild = new DepartmentTypeEdit();
         PageAnimation.back.Children.Add(this.editChild);
     }
     Messenger.Default.Send(new ChildMessage()
     {
         currentObject = this.currentSelectItem.ItemContent, isEdit = true, action = ActionMenuButton.Edit, level = "Main"
     });
     PageAnimation.ToBack();
 }
示例#4
0
        private void Edit()
        {
            if (this.PhieuNhapThuocEditChild == null)
            {
                this.PhieuNhapThuocEditChild = new PhieuNhapThuocEdit();
                PageAnimation.back.Children.Add(this.PhieuNhapThuocEditChild);
            }

            Messenger.Default.Send(new ChildMessage()
            {
                currentObject = this.currentSelectItem, isEdit = true, action = ActionMenuButton.Edit, level = "Main"
            });
            PageAnimation.ToBack();
        }
示例#5
0
        private void View()
        {
            if (this.tlUserChild == null)
            {
                this.tlUserChild = new UserEdit();
                PageAnimation.back.Children.Add(this.tlUserChild);
            }

            Messenger.Default.Send(new ChildMessage()
            {
                currentObject = this.currentUser.ItemContent, isEdit = false, action = ActionMenuButton.View
            });
            PageAnimation.ToBack();
        }
示例#6
0
        private void View()
        {
            if (this.roleChild == null)
            {
                this.roleChild = new RolesEdit();
                PageAnimation.back.Children.Add(this.roleChild);
            }

            Messenger.Default.Send(new ChildMessage()
            {
                currentObject = this.currentRole, isEdit = false, action = ActionMenuButton.View, level = "Main"
            });
            PageAnimation.ToBack();
        }
示例#7
0
        private void Edit()
        {
            if (this.menuChild == null)
            {
                this.menuChild = new MenuEdit();
                PageAnimation.back.Children.Add(this.menuChild);
            }

            Messenger.Default.Send(new ChildMessage()
            {
                currentObject = this.currentMenu, isEdit = true, action = ActionMenuButton.Edit, level = "Main"
            });
            PageAnimation.ToBack();
        }