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

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

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

            if (UsersLabel != null)
            {
                UsersLabel.Dispose();
                UsersLabel = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (TipValueLabel != null)
            {
                TipValueLabel.Dispose();
                TipValueLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (TotalText != null)
            {
                TotalText.Dispose();
                TotalText = null;
            }
        }
예제 #4
0
 void ReleaseDesignerOutlets()
 {
     if (CustomerLabel != null)
     {
         CustomerLabel.Dispose();
         CustomerLabel = null;
     }
     if (DiscountLabel != null)
     {
         DiscountLabel.Dispose();
         DiscountLabel = null;
     }
     if (DiscountTitleLabel != null)
     {
         DiscountTitleLabel.Dispose();
         DiscountTitleLabel = null;
     }
     if (PauseButton != null)
     {
         PauseButton.Dispose();
         PauseButton = null;
     }
     if (ScanButton != null)
     {
         ScanButton.Dispose();
         ScanButton = null;
     }
     if (SearchBarContainerView != null)
     {
         SearchBarContainerView.Dispose();
         SearchBarContainerView = null;
     }
     if (TableView != null)
     {
         TableView.Dispose();
         TableView = null;
     }
     if (TaxLabel != null)
     {
         TaxLabel.Dispose();
         TaxLabel = null;
     }
     if (TaxTitleLabel != null)
     {
         TaxTitleLabel.Dispose();
         TaxTitleLabel = null;
     }
     if (TotalLabel != null)
     {
         TotalLabel.Dispose();
         TotalLabel = null;
     }
     if (TotalTitleLabel != null)
     {
         TotalTitleLabel.Dispose();
         TotalTitleLabel = null;
     }
     if (TrashButton != null)
     {
         TrashButton.Dispose();
         TrashButton = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (btnInvoice != null)
            {
                btnInvoice.Dispose();
                btnInvoice = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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