void ReleaseDesignerOutlets() { if (ArrowImageView != null) { ArrowImageView.Dispose(); ArrowImageView = null; } if (ItemsLabel != null) { ItemsLabel.Dispose(); ItemsLabel = null; } if (ItemsView != null) { ItemsView.Dispose(); ItemsView = null; } if (NumberLabel != null) { NumberLabel.Dispose(); NumberLabel = null; } if (OrderImageView != null) { OrderImageView.Dispose(); OrderImageView = null; } if (OrderStatusLabel != null) { OrderStatusLabel.Dispose(); OrderStatusLabel = null; } if (PaymentStatusLabel != null) { PaymentStatusLabel.Dispose(); PaymentStatusLabel = null; } if (PaymentStatusView != null) { PaymentStatusView.Dispose(); PaymentStatusView = null; } if (PriceLabel != null) { PriceLabel.Dispose(); PriceLabel = null; } }