private void Search_Click(object sender, RoutedEventArgs e)
        {
            PLayer newLayer = new PLayer();
            Item   toUpdate = newLayer.fetchItem(this.uid.Text);

            if (toUpdate != null)
            {
                uStatus.Content           = " ";
                this.uid.Text             = toUpdate.id;
                this.uprice.Text          = toUpdate.price.ToString();
                this.ucatagory.Text       = toUpdate.Catagory;
                this.usize.Text           = toUpdate.size.ToString();
                this.ucolor.Text          = toUpdate.color;
                this.ubrand.Text          = toUpdate.brand;
                this.udpDate.SelectedDate = toUpdate.date;
            }
            else
            {
                uStatus.Content           = "INCORRECT ID";
                this.uid.Text             = "";
                this.uprice.Text          = "";
                this.ucatagory.Text       = "";
                this.usize.Text           = "";
                this.ucolor.Text          = "";
                this.ubrand.Text          = "";
                this.udpDate.SelectedDate = DateTime.Today;
                this.reciept.Text         = "";
            }
        }
        private void dSearch_Click(object sender, RoutedEventArgs e)
        {
            PLayer newLayer = new PLayer();
            Item   toUpdate = newLayer.fetchItem(this.did.Text);

            if (toUpdate != null)
            {
                dStatus.Content           = " ";
                this.did.Text             = toUpdate.id;
                this.dprice.Text          = toUpdate.price.ToString();
                this.dcatagory.Text       = toUpdate.Catagory;
                this.dsize.Text           = toUpdate.size.ToString();
                this.dcolor.Text          = toUpdate.color;
                this.dbrand.Text          = toUpdate.brand;
                this.ddpDate.SelectedDate = toUpdate.date;
            }
            else
            {
                dStatus.Content = "INCORRECT ID";
            }
        }