private void ItemDoubleClick(object obj)
 {
     if (LoginPage.Loggedin_User.Authentication == "seller")
     {
         EditItemVM editVM = new EditItemVM(this);
         EditItem   edit   = new EditItem
         {
             DataContext = editVM
         };
         edit.Show();
     }
     else
     {
         MessageBox.Show("Access Denied");
     }
 }
예제 #2
0
 public PetEditVM(EditItemVM parent)
 {
     Parent = parent;
 }