void ReleaseDesignerOutlets()
        {
            if (AddButton != null)
            {
                AddButton.Dispose();
                AddButton = null;
            }

            if (AvailableField != null)
            {
                AvailableField.Dispose();
                AvailableField = null;
            }

            if (BrandField != null)
            {
                BrandField.Dispose();
                BrandField = null;
            }

            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

            if (DescriptionField != null)
            {
                DescriptionField.Dispose();
                DescriptionField = null;
            }

            if (ImageView != null)
            {
                ImageView.Dispose();
                ImageView = null;
            }

            if (NameField != null)
            {
                NameField.Dispose();
                NameField = null;
            }

            if (PriceField != null)
            {
                PriceField.Dispose();
                PriceField = null;
            }

            if (UploadButton != null)
            {
                UploadButton.Dispose();
                UploadButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CategoryPicker != null)
            {
                CategoryPicker.Dispose();
                CategoryPicker = null;
            }

            if (DescriptionField != null)
            {
                DescriptionField.Dispose();
                DescriptionField = null;
            }

            if (ItemNameField != null)
            {
                ItemNameField.Dispose();
                ItemNameField = null;
            }
        }