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

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

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

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

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

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

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

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

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

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

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

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

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

            if (PreviousBtn != null)
            {
                PreviousBtn.Dispose();
                PreviousBtn = 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;
            }
        }
예제 #4
0
        void ReleaseDesignerOutlets()
        {
            if (BatteryLevel1 != null)
            {
                BatteryLevel1.Dispose();
                BatteryLevel1 = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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